visitor

package
v0.0.0-...-b23db3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompilationUnitVisitor

type CompilationUnitVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewCompilationUnitVisitor

func NewCompilationUnitVisitor(name string, program *pb.Program) *CompilationUnitVisitor

func (*CompilationUnitVisitor) Visit

func (v *CompilationUnitVisitor) Visit(tree antlr.ParseTree) any

func (*CompilationUnitVisitor) VisitChildren

func (v *CompilationUnitVisitor) VisitChildren(node antlr.RuleNode) any

func (*CompilationUnitVisitor) VisitCompilationUnit

func (v *CompilationUnitVisitor) VisitCompilationUnit(ctx *cobol85.CompilationUnitContext) any

func (*CompilationUnitVisitor) VisitStartRule

func (v *CompilationUnitVisitor) VisitStartRule(ctx *cobol85.StartRuleContext) any

type DataDivisionVisitor

type DataDivisionVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewDataDivisionVisitor

func NewDataDivisionVisitor(division *pb.DataDivision) *DataDivisionVisitor

func (*DataDivisionVisitor) Visit

func (v *DataDivisionVisitor) Visit(tree antlr.ParseTree) any

func (*DataDivisionVisitor) VisitChildren

func (v *DataDivisionVisitor) VisitChildren(node antlr.RuleNode) any

func (*DataDivisionVisitor) VisitCommunicationSection

func (v *DataDivisionVisitor) VisitCommunicationSection(ctx *cobol85.CommunicationSectionContext) interface{}

func (*DataDivisionVisitor) VisitDataBaseSection

func (v *DataDivisionVisitor) VisitDataBaseSection(ctx *cobol85.DataBaseSectionContext) interface{}

func (*DataDivisionVisitor) VisitDataDivision

func (v *DataDivisionVisitor) VisitDataDivision(ctx *cobol85.DataDivisionContext) any

func (*DataDivisionVisitor) VisitDataDivisionSection

func (v *DataDivisionVisitor) VisitDataDivisionSection(ctx *cobol85.DataDivisionSectionContext) interface{}

func (*DataDivisionVisitor) VisitFileSection

func (v *DataDivisionVisitor) VisitFileSection(ctx *cobol85.FileSectionContext) interface{}

func (*DataDivisionVisitor) VisitLinkageSection

func (v *DataDivisionVisitor) VisitLinkageSection(ctx *cobol85.LinkageSectionContext) interface{}

func (*DataDivisionVisitor) VisitLocalStorageSection

func (v *DataDivisionVisitor) VisitLocalStorageSection(ctx *cobol85.LocalStorageSectionContext) interface{}

func (*DataDivisionVisitor) VisitProgramLibrarySection

func (v *DataDivisionVisitor) VisitProgramLibrarySection(ctx *cobol85.ProgramLibrarySectionContext) interface{}

func (*DataDivisionVisitor) VisitReportSection

func (v *DataDivisionVisitor) VisitReportSection(ctx *cobol85.ReportSectionContext) interface{}

func (*DataDivisionVisitor) VisitScreenSection

func (v *DataDivisionVisitor) VisitScreenSection(ctx *cobol85.ScreenSectionContext) interface{}

func (*DataDivisionVisitor) VisitWorkingStorageSection

func (v *DataDivisionVisitor) VisitWorkingStorageSection(ctx *cobol85.WorkingStorageSectionContext) interface{}

type EnvironmentDivisionVisitor

type EnvironmentDivisionVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewEnvironmentDivisionVisitor

func NewEnvironmentDivisionVisitor(division *pb.EnvironmentDivision) *EnvironmentDivisionVisitor

func (*EnvironmentDivisionVisitor) Visit

func (v *EnvironmentDivisionVisitor) Visit(tree antlr.ParseTree) any

func (*EnvironmentDivisionVisitor) VisitChildren

func (v *EnvironmentDivisionVisitor) VisitChildren(node antlr.RuleNode) any

func (*EnvironmentDivisionVisitor) VisitConfigurationSection

func (v *EnvironmentDivisionVisitor) VisitConfigurationSection(ctx *cobol85.ConfigurationSectionContext) interface{}

func (*EnvironmentDivisionVisitor) VisitEnvironmentDivision

func (v *EnvironmentDivisionVisitor) VisitEnvironmentDivision(ctx *cobol85.EnvironmentDivisionContext) any

func (*EnvironmentDivisionVisitor) VisitEnvironmentDivisionBody

func (v *EnvironmentDivisionVisitor) VisitEnvironmentDivisionBody(ctx *cobol85.EnvironmentDivisionBodyContext) interface{}

func (*EnvironmentDivisionVisitor) VisitInputOutputSection

func (v *EnvironmentDivisionVisitor) VisitInputOutputSection(ctx *cobol85.InputOutputSectionContext) interface{}

func (*EnvironmentDivisionVisitor) VisitSpecialNamesParagraph

func (v *EnvironmentDivisionVisitor) VisitSpecialNamesParagraph(ctx *cobol85.SpecialNamesParagraphContext) interface{}

type IdentificationDivisionVisitor

type IdentificationDivisionVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewIdentificationDivisionVisitor

func NewIdentificationDivisionVisitor(division *pb.IdentificationDivision) *IdentificationDivisionVisitor

func (*IdentificationDivisionVisitor) Visit

func (v *IdentificationDivisionVisitor) Visit(tree antlr.ParseTree) any

func (*IdentificationDivisionVisitor) VisitAuthorParagraph

func (v *IdentificationDivisionVisitor) VisitAuthorParagraph(ctx *cobol85.AuthorParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitChildren

func (v *IdentificationDivisionVisitor) VisitChildren(node antlr.RuleNode) any

func (*IdentificationDivisionVisitor) VisitDateCompiledParagraph

func (v *IdentificationDivisionVisitor) VisitDateCompiledParagraph(ctx *cobol85.DateCompiledParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitDateWrittenParagraph

func (v *IdentificationDivisionVisitor) VisitDateWrittenParagraph(ctx *cobol85.DateWrittenParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitIdentificationDivision

func (v *IdentificationDivisionVisitor) VisitIdentificationDivision(ctx *cobol85.IdentificationDivisionContext) any

func (*IdentificationDivisionVisitor) VisitIdentificationDivisionBody

func (v *IdentificationDivisionVisitor) VisitIdentificationDivisionBody(ctx *cobol85.IdentificationDivisionBodyContext) any

func (*IdentificationDivisionVisitor) VisitInstallationParagraph

func (v *IdentificationDivisionVisitor) VisitInstallationParagraph(ctx *cobol85.InstallationParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitProgramIdParagraph

func (v *IdentificationDivisionVisitor) VisitProgramIdParagraph(ctx *cobol85.ProgramIdParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitRemarksParagraph

func (v *IdentificationDivisionVisitor) VisitRemarksParagraph(ctx *cobol85.RemarksParagraphContext) interface{}

func (*IdentificationDivisionVisitor) VisitSecurityParagraph

func (v *IdentificationDivisionVisitor) VisitSecurityParagraph(ctx *cobol85.SecurityParagraphContext) interface{}

type ProcedureDivisionVisitor

type ProcedureDivisionVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewProcedureDivisionVisitor

func NewProcedureDivisionVisitor(division *pb.ProcedureDivision) *ProcedureDivisionVisitor

func (*ProcedureDivisionVisitor) Visit

func (v *ProcedureDivisionVisitor) Visit(tree antlr.ParseTree) any

func (*ProcedureDivisionVisitor) VisitChildren

func (v *ProcedureDivisionVisitor) VisitChildren(node antlr.RuleNode) any

func (*ProcedureDivisionVisitor) VisitParagraphs

func (v *ProcedureDivisionVisitor) VisitParagraphs(ctx *cobol85.ParagraphsContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureDeclarative

func (v *ProcedureDivisionVisitor) VisitProcedureDeclarative(ctx *cobol85.ProcedureDeclarativeContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureDeclaratives

func (v *ProcedureDivisionVisitor) VisitProcedureDeclaratives(ctx *cobol85.ProcedureDeclarativesContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureDivision

func (v *ProcedureDivisionVisitor) VisitProcedureDivision(ctx *cobol85.ProcedureDivisionContext) any

func (*ProcedureDivisionVisitor) VisitProcedureDivisionBody

func (v *ProcedureDivisionVisitor) VisitProcedureDivisionBody(ctx *cobol85.ProcedureDivisionBodyContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureDivisionGivingClause

func (v *ProcedureDivisionVisitor) VisitProcedureDivisionGivingClause(ctx *cobol85.ProcedureDivisionGivingClauseContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureDivisionUsingClause

func (v *ProcedureDivisionVisitor) VisitProcedureDivisionUsingClause(ctx *cobol85.ProcedureDivisionUsingClauseContext) interface{}

func (*ProcedureDivisionVisitor) VisitProcedureSection

func (v *ProcedureDivisionVisitor) VisitProcedureSection(ctx *cobol85.ProcedureSectionContext) interface{}

type ProgramUnitVisitor

type ProgramUnitVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewProgramUnitVisitor

func NewProgramUnitVisitor(programUnit *pb.ProgramUnit) *ProgramUnitVisitor

func (*ProgramUnitVisitor) Visit

func (v *ProgramUnitVisitor) Visit(tree antlr.ParseTree) any

func (*ProgramUnitVisitor) VisitChildren

func (v *ProgramUnitVisitor) VisitChildren(node antlr.RuleNode) any

func (*ProgramUnitVisitor) VisitDataDivision

func (v *ProgramUnitVisitor) VisitDataDivision(ctx *cobol85.DataDivisionContext) any

func (*ProgramUnitVisitor) VisitEnvironmentDivision

func (v *ProgramUnitVisitor) VisitEnvironmentDivision(ctx *cobol85.EnvironmentDivisionContext) any

func (*ProgramUnitVisitor) VisitIdentificationDivision

func (v *ProgramUnitVisitor) VisitIdentificationDivision(ctx *cobol85.IdentificationDivisionContext) any

func (*ProgramUnitVisitor) VisitProcedureDivision

func (v *ProgramUnitVisitor) VisitProcedureDivision(ctx *cobol85.ProcedureDivisionContext) any

func (*ProgramUnitVisitor) VisitProgramUnit

func (v *ProgramUnitVisitor) VisitProgramUnit(ctx *cobol85.ProgramUnitContext) any

type ProgramUnitsVisitor

type ProgramUnitsVisitor struct {
	cobol85.BaseCobol85Visitor
	// contains filtered or unexported fields
}

func NewProgramUnitsVisitor

func NewProgramUnitsVisitor(compilationUnit *pb.CompilationUnit) *ProgramUnitsVisitor

func (*ProgramUnitsVisitor) Visit

func (v *ProgramUnitsVisitor) Visit(tree antlr.ParseTree) any

func (*ProgramUnitsVisitor) VisitChildren

func (v *ProgramUnitsVisitor) VisitChildren(node antlr.RuleNode) any

func (*ProgramUnitsVisitor) VisitProgramUnit

func (v *ProgramUnitsVisitor) VisitProgramUnit(ctx *cobol85.ProgramUnitContext) any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL