Package com.github._1c_syntax.bsl.parser
Interface BSLParserVisitor<Result>
- Type Parameters:
Result- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
ParseTreeVisitor<Result>
- All Known Implementing Classes:
BSLParserBaseVisitor
This interface defines a complete generic visitor for a parse tree produced
by
BSLParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byBSLParser.acceptor().Visit a parse tree produced byBSLParser.accessCall().Visit a parse tree produced byBSLParser.accessIndex().Visit a parse tree produced byBSLParser.accessProperty().Visit a parse tree produced byBSLParser.addHandlerStatement().Visit a parse tree produced byBSLParser.annotation().Visit a parse tree produced byBSLParser.annotationName().Visit a parse tree produced byBSLParser.annotationParam().Visit a parse tree produced byBSLParser.annotationParamName().Visit a parse tree produced byBSLParser.annotationParams().Visit a parse tree produced byBSLParser.assignment().Visit a parse tree produced byBSLParser.boolOperation().Visit a parse tree produced byBSLParser.breakStatement().Visit a parse tree produced byBSLParser.callParam().Visit a parse tree produced byBSLParser.callParamList().Visit a parse tree produced byBSLParser.callStatement().Visit a parse tree produced byBSLParser.codeBlock().Visit a parse tree produced byBSLParser.compareOperation().Visit a parse tree produced byBSLParser.compilerDirective().Visit a parse tree produced byBSLParser.compilerDirectiveSymbol().Visit a parse tree produced byBSLParser.complexIdentifier().Visit a parse tree produced byBSLParser.compoundStatement().Visit a parse tree produced byBSLParser.constValue().Visit a parse tree produced byBSLParser.continueStatement().Visit a parse tree produced byBSLParser.defaultValue().Visit a parse tree produced byBSLParser.doCall().Visit a parse tree produced byBSLParser.elseBranch().Visit a parse tree produced byBSLParser.elsifBranch().Visit a parse tree produced byBSLParser.event().Visit a parse tree produced byBSLParser.exceptCodeBlock().Visit a parse tree produced byBSLParser.executeStatement().Visit a parse tree produced byBSLParser.expression().Visit a parse tree produced byBSLParser.file().Visit a parse tree produced byBSLParser.fileCodeBlock().Visit a parse tree produced byBSLParser.fileCodeBlockBeforeSub().Visit a parse tree produced byBSLParser.forEachStatement().Visit a parse tree produced byBSLParser.forStatement().Visit a parse tree produced byBSLParser.funcDeclaration().Visit a parse tree produced byBSLParser.function().Visit a parse tree produced byBSLParser.globalMethodCall().Visit a parse tree produced byBSLParser.gotoStatement().Visit a parse tree produced byBSLParser.handler().Visit a parse tree produced byBSLParser.ifBranch().Visit a parse tree produced byBSLParser.ifStatement().Visit a parse tree produced byBSLParser.label().Visit a parse tree produced byBSLParser.labelName().Visit a parse tree produced byBSLParser.lValue().Visit a parse tree produced byBSLParser.member().Visit a parse tree produced byBSLParser.methodCall().Visit a parse tree produced byBSLParser.methodName().Visit a parse tree produced byBSLParser.modifier().Visit a parse tree produced byBSLParser.moduleVar().Visit a parse tree produced byBSLParser.moduleVarDeclaration().Visit a parse tree produced byBSLParser.moduleVars().Visit a parse tree produced byBSLParser.moduleVarsList().Visit a parse tree produced byBSLParser.multilineString().Visit a parse tree produced byBSLParser.newExpression().Visit a parse tree produced byBSLParser.numeric().Visit a parse tree produced byBSLParser.operation().Visit a parse tree produced byBSLParser.param().Visit a parse tree produced byBSLParser.paramList().Visit a parse tree produced byBSLParser.preproc_boolOperation().Visit a parse tree produced byBSLParser.preproc_else().Visit a parse tree produced byBSLParser.preproc_elsif().Visit a parse tree produced byBSLParser.preproc_endif().Visit a parse tree produced byBSLParser.preproc_expression().Visit a parse tree produced byBSLParser.preproc_if().Visit a parse tree produced byBSLParser.preproc_logicalExpression().Visit a parse tree produced byBSLParser.preproc_logicalOperand().Visit a parse tree produced byBSLParser.preproc_symbol().Visit a parse tree produced byBSLParser.preproc_unknownSymbol().Visit a parse tree produced byBSLParser.preprocessor().Visit a parse tree produced byBSLParser.procDeclaration().Visit a parse tree produced byBSLParser.procedure().Visit a parse tree produced byBSLParser.raiseStatement().Visit a parse tree produced byBSLParser.regionEnd().Visit a parse tree produced byBSLParser.regionName().Visit a parse tree produced byBSLParser.regionStart().Visit a parse tree produced byBSLParser.removeHandlerStatement().Visit a parse tree produced byBSLParser.returnStatement().Visit a parse tree produced byBSLParser.shebang().Visit a parse tree produced byBSLParser.statement().Visit a parse tree produced byBSLParser.string().Visit a parse tree produced byBSLParser.sub().Visit a parse tree produced byBSLParser.subCodeBlock().Visit a parse tree produced byBSLParser.subName().Visit a parse tree produced byBSLParser.subs().Visit a parse tree produced byBSLParser.subVar().Visit a parse tree produced byBSLParser.subVarDeclaration().Visit a parse tree produced byBSLParser.subVars().Visit a parse tree produced byBSLParser.subVarsList().Visit a parse tree produced byBSLParser.ternaryOperator().Visit a parse tree produced byBSLParser.tryCodeBlock().Visit a parse tree produced byBSLParser.tryStatement().Visit a parse tree produced byBSLParser.typeName().Visit a parse tree produced byBSLParser.unaryModifier().Visit a parse tree produced byBSLParser.use().Visit a parse tree produced byBSLParser.usedLib().Visit a parse tree produced byBSLParser.var_name().Visit a parse tree produced byBSLParser.waitExpression().Visit a parse tree produced byBSLParser.waitStatement().Visit a parse tree produced byBSLParser.whileStatement().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitFile
Visit a parse tree produced byBSLParser.file().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShebang
Visit a parse tree produced byBSLParser.shebang().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUsedLib
Visit a parse tree produced byBSLParser.usedLib().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUse
Visit a parse tree produced byBSLParser.use().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegionStart
Visit a parse tree produced byBSLParser.regionStart().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegionEnd
Visit a parse tree produced byBSLParser.regionEnd().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegionName
Visit a parse tree produced byBSLParser.regionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_if
Visit a parse tree produced byBSLParser.preproc_if().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_elsif
Visit a parse tree produced byBSLParser.preproc_elsif().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_else
Visit a parse tree produced byBSLParser.preproc_else().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_endif
Visit a parse tree produced byBSLParser.preproc_endif().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_expression
Visit a parse tree produced byBSLParser.preproc_expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_logicalOperand
Visit a parse tree produced byBSLParser.preproc_logicalOperand().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_logicalExpression
Visit a parse tree produced byBSLParser.preproc_logicalExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_symbol
Visit a parse tree produced byBSLParser.preproc_symbol().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_unknownSymbol
Visit a parse tree produced byBSLParser.preproc_unknownSymbol().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreproc_boolOperation
Visit a parse tree produced byBSLParser.preproc_boolOperation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreprocessor
Visit a parse tree produced byBSLParser.preprocessor().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompilerDirectiveSymbol
Visit a parse tree produced byBSLParser.compilerDirectiveSymbol().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompilerDirective
Visit a parse tree produced byBSLParser.compilerDirective().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
Visit a parse tree produced byBSLParser.annotationName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParamName
Visit a parse tree produced byBSLParser.annotationParamName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byBSLParser.annotation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParams
Visit a parse tree produced byBSLParser.annotationParams().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationParam
Visit a parse tree produced byBSLParser.annotationParam().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVar_name
Visit a parse tree produced byBSLParser.var_name().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleVars
Visit a parse tree produced byBSLParser.moduleVars().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleVar
Visit a parse tree produced byBSLParser.moduleVar().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleVarsList
Visit a parse tree produced byBSLParser.moduleVarsList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModuleVarDeclaration
Visit a parse tree produced byBSLParser.moduleVarDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubVars
Visit a parse tree produced byBSLParser.subVars().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubVar
Visit a parse tree produced byBSLParser.subVar().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubVarsList
Visit a parse tree produced byBSLParser.subVarsList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubVarDeclaration
Visit a parse tree produced byBSLParser.subVarDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubName
Visit a parse tree produced byBSLParser.subName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubs
Visit a parse tree produced byBSLParser.subs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSub
Visit a parse tree produced byBSLParser.sub().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProcedure
Visit a parse tree produced byBSLParser.procedure().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Visit a parse tree produced byBSLParser.function().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProcDeclaration
Visit a parse tree produced byBSLParser.procDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFuncDeclaration
Visit a parse tree produced byBSLParser.funcDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubCodeBlock
Visit a parse tree produced byBSLParser.subCodeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Visit a parse tree produced byBSLParser.continueStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Visit a parse tree produced byBSLParser.breakStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRaiseStatement
Visit a parse tree produced byBSLParser.raiseStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatement
Visit a parse tree produced byBSLParser.ifStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfBranch
Visit a parse tree produced byBSLParser.ifBranch().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElsifBranch
Visit a parse tree produced byBSLParser.elsifBranch().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElseBranch
Visit a parse tree produced byBSLParser.elseBranch().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
Visit a parse tree produced byBSLParser.whileStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatement
Visit a parse tree produced byBSLParser.forStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForEachStatement
Visit a parse tree produced byBSLParser.forEachStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatement
Visit a parse tree produced byBSLParser.tryStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
Visit a parse tree produced byBSLParser.returnStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExecuteStatement
Visit a parse tree produced byBSLParser.executeStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallStatement
Visit a parse tree produced byBSLParser.callStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWaitStatement
Visit a parse tree produced byBSLParser.waitStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelName
Visit a parse tree produced byBSLParser.labelName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced byBSLParser.label().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGotoStatement
Visit a parse tree produced byBSLParser.gotoStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryCodeBlock
Visit a parse tree produced byBSLParser.tryCodeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExceptCodeBlock
Visit a parse tree produced byBSLParser.exceptCodeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEvent
Visit a parse tree produced byBSLParser.event().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHandler
Visit a parse tree produced byBSLParser.handler().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddHandlerStatement
Visit a parse tree produced byBSLParser.addHandlerStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRemoveHandlerStatement
Visit a parse tree produced byBSLParser.removeHandlerStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryOperator
Visit a parse tree produced byBSLParser.ternaryOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWaitExpression
Visit a parse tree produced byBSLParser.waitExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFileCodeBlockBeforeSub
Visit a parse tree produced byBSLParser.fileCodeBlockBeforeSub().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFileCodeBlock
Visit a parse tree produced byBSLParser.fileCodeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCodeBlock
Visit a parse tree produced byBSLParser.codeBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumeric
Visit a parse tree produced byBSLParser.numeric().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParamList
Visit a parse tree produced byBSLParser.paramList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParam
Visit a parse tree produced byBSLParser.param().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byBSLParser.defaultValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstValue
Visit a parse tree produced byBSLParser.constValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultilineString
Visit a parse tree produced byBSLParser.multilineString().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced byBSLParser.string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byBSLParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byBSLParser.assignment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallParamList
Visit a parse tree produced byBSLParser.callParamList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallParam
Visit a parse tree produced byBSLParser.callParam().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byBSLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperation
Visit a parse tree produced byBSLParser.operation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompareOperation
Visit a parse tree produced byBSLParser.compareOperation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolOperation
Visit a parse tree produced byBSLParser.boolOperation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryModifier
Visit a parse tree produced byBSLParser.unaryModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMember
Visit a parse tree produced byBSLParser.member().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewExpression
Visit a parse tree produced byBSLParser.newExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeName
Visit a parse tree produced byBSLParser.typeName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced byBSLParser.methodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGlobalMethodCall
Visit a parse tree produced byBSLParser.globalMethodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodName
Visit a parse tree produced byBSLParser.methodName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexIdentifier
Visit a parse tree produced byBSLParser.complexIdentifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byBSLParser.modifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAcceptor
Visit a parse tree produced byBSLParser.acceptor().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLValue
Visit a parse tree produced byBSLParser.lValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAccessCall
Visit a parse tree produced byBSLParser.accessCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAccessIndex
Visit a parse tree produced byBSLParser.accessIndex().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAccessProperty
Visit a parse tree produced byBSLParser.accessProperty().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoCall
Visit a parse tree produced byBSLParser.doCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompoundStatement
Visit a parse tree produced byBSLParser.compoundStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-