Class VariableSymbolComputer
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor<ParseTree>
com.github._1c_syntax.bsl.languageserver.context.computer.VariableSymbolComputer
- All Implemented Interfaces:
Computer<List<VariableSymbol>>
,BSLParserVisitor<ParseTree>
,ParseTreeVisitor<ParseTree>
public class VariableSymbolComputer
extends BSLParserBaseVisitor<ParseTree>
implements Computer<List<VariableSymbol>>
-
Constructor Summary
ConstructorDescriptionVariableSymbolComputer
(DocumentContext documentContext, ModuleSymbol module, List<MethodSymbol> methods) -
Method Summary
Methods inherited from class com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor
visitAcceptor, visitAccessCall, visitAccessIndex, visitAccessProperty, visitAddHandlerStatement, visitAnnotation, visitAnnotationName, visitAnnotationParam, visitAnnotationParamName, visitAnnotationParams, visitAssignment, visitBoolOperation, visitBreakStatement, visitCallParam, visitCallParamList, visitCallStatement, visitCodeBlock, visitCompareOperation, visitCompilerDirective, visitCompilerDirectiveSymbol, visitComplexIdentifier, visitCompoundStatement, visitConstValue, visitContinueStatement, visitDefaultValue, visitDoCall, visitElseBranch, visitElsifBranch, visitEvent, visitExceptCodeBlock, visitExecuteStatement, visitExpression, visitFile, visitFileCodeBlock, visitFileCodeBlockBeforeSub, visitFuncDeclaration, visitFunction, visitGlobalMethodCall, visitGotoStatement, visitHandler, visitIfBranch, visitIfStatement, visitLabel, visitLabelName, visitMember, visitMethodCall, visitMethodName, visitModifier, visitModuleAnnotations, visitModuleVar, visitModuleVars, visitModuleVarsList, visitMultilineString, visitNewExpression, visitNumeric, visitOperation, visitParamList, visitPreproc_boolOperation, visitPreproc_else, visitPreproc_elsif, visitPreproc_endif, visitPreproc_expression, visitPreproc_if, visitPreproc_logicalExpression, visitPreproc_logicalOperand, visitPreproc_native, visitPreproc_symbol, visitPreproc_unknownSymbol, visitPreprocessor, visitProcDeclaration, visitProcedure, visitRaiseStatement, visitRegionEnd, visitRegionName, visitRegionStart, visitRemoveHandlerStatement, visitReturnStatement, visitShebang, visitStatement, visitString, visitSubCodeBlock, visitSubName, visitSubs, visitSubVar, visitSubVars, visitSubVarsList, visitTernaryOperator, visitTryCodeBlock, visitTryStatement, visitTypeName, visitUnaryModifier, visitUse, visitUsedLib, visitVar_name, visitWaitExpression, visitWaitStatement, visitWhileStatement
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
VariableSymbolComputer
public VariableSymbolComputer(DocumentContext documentContext, ModuleSymbol module, List<MethodSymbol> methods)
-
-
Method Details
-
compute
- Specified by:
compute
in interfaceComputer<List<VariableSymbol>>
-
visitModuleVarDeclaration
- Specified by:
visitModuleVarDeclaration
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitModuleVarDeclaration
in classBSLParserBaseVisitor<ParseTree>
-
visitSub
- Specified by:
visitSub
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitSub
in classBSLParserBaseVisitor<ParseTree>
-
visitSubVarDeclaration
- Specified by:
visitSubVarDeclaration
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitSubVarDeclaration
in classBSLParserBaseVisitor<ParseTree>
-
visitParam
- Specified by:
visitParam
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitParam
in classBSLParserBaseVisitor<ParseTree>
-
visitLValue
- Specified by:
visitLValue
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitLValue
in classBSLParserBaseVisitor<ParseTree>
-
visitForStatement
- Specified by:
visitForStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitForStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitForEachStatement
- Specified by:
visitForEachStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitForEachStatement
in classBSLParserBaseVisitor<ParseTree>
-