Class AbstractVisitorDiagnostic
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor<ParseTree>
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,BSLParserVisitor<ParseTree>
,ParseTreeVisitor<ParseTree>
- Direct Known Subclasses:
AbstractFindMethodDiagnostic
,AbstractMultilingualStringDiagnostic
,AllFunctionPathMustHaveReturnDiagnostic
,BeginTransactionBeforeTryCatchDiagnostic
,CodeAfterAsyncCallDiagnostic
,CodeBlockBeforeSubDiagnostic
,CodeOutOfRegionDiagnostic
,CognitiveComplexityDiagnostic
,CommitTransactionOutsideTryCatchDiagnostic
,CommonModuleAssignDiagnostic
,CompilationDirectiveLostDiagnostic
,CompilationDirectiveNeedLessDiagnostic
,CreateQueryInCycleDiagnostic
,CyclomaticComplexityDiagnostic
,DataExchangeLoadingDiagnostic
,DeletingCollectionItemDiagnostic
,DeprecatedAttributes8312Diagnostic
,DeprecatedMethods8310Diagnostic
,DeprecatedTypeManagedFormDiagnostic
,DuplicatedInsertionIntoCollectionDiagnostic
,DuplicateRegionDiagnostic
,DuplicateStringLiteralDiagnostic
,EmptyCodeBlockDiagnostic
,EmptyStatementDiagnostic
,ExcessiveAutoTestCheckDiagnostic
,ExecuteExternalCodeDiagnostic
,ExecuteExternalCodeInCommonModuleDiagnostic
,ExtraCommasDiagnostic
,FunctionNameStartsWithGetDiagnostic
,FunctionOutParameterDiagnostic
,FunctionReturnsSamePrimitiveDiagnostic
,FunctionShouldHaveReturnDiagnostic
,IdenticalExpressionsDiagnostic
,IfConditionComplexityDiagnostic
,IfElseDuplicatedCodeBlockDiagnostic
,IfElseDuplicatedConditionDiagnostic
,IfElseIfEndsWithElseDiagnostic
,InternetAccessDiagnostic
,IsInRoleMethodDiagnostic
,MagicDateDiagnostic
,MagicNumberDiagnostic
,MethodSizeDiagnostic
,MissedRequiredParameterDiagnostic
,MissingCodeTryCatchExDiagnostic
,MissingTemporaryFileDeletionDiagnostic
,MissingVariablesDescriptionDiagnostic
,NestedConstructorsInStructureDeclarationDiagnostic
,NestedFunctionInParametersDiagnostic
,NestedTernaryOperatorDiagnostic
,NonExportMethodsInApiRegionDiagnostic
,NumberOfOptionalParamsDiagnostic
,NumberOfParamsDiagnostic
,NumberOfValuesInStructureConstructorDiagnostic
,OneStatementPerLineDiagnostic
,OrderOfParamsDiagnostic
,PairingBrokenTransactionDiagnostic
,ProcedureReturnsValueDiagnostic
,PublicMethodsDescriptionDiagnostic
,RedundantAccessToObjectDiagnostic
,SelfAssignDiagnostic
,SelfInsertionDiagnostic
,SemicolonPresenceDiagnostic
,SeveralCompilerDirectivesDiagnostic
,StyleElementConstructorsDiagnostic
,TernaryOperatorUsageDiagnostic
,ThisObjectAssignDiagnostic
,TimeoutsInExternalResourcesDiagnostic
,TooManyReturnsDiagnostic
,TryNumberDiagnostic
,UnaryPlusInConcatenationDiagnostic
,UnknownPreprocessorSymbolDiagnostic
,UnreachableCodeDiagnostic
,UnusedLocalMethodDiagnostic
,UnusedParametersDiagnostic
,UsageWriteLogEventDiagnostic
,UseLessForEachDiagnostic
,UseSystemInformationDiagnostic
,UsingCancelParameterDiagnostic
,UsingExternalCodeToolsDiagnostic
,UsingFindElementByStringDiagnostic
,UsingGotoDiagnostic
,UsingHardcodeNetworkAddressDiagnostic
,UsingHardcodePathDiagnostic
,UsingHardcodeSecretInformationDiagnostic
,UsingModalWindowsDiagnostic
,UsingObjectNotAvailableUnixDiagnostic
,UsingSynchronousCallsDiagnostic
,UsingThisFormDiagnostic
public abstract class AbstractVisitorDiagnostic
extends BSLParserBaseVisitor<ParseTree>
implements BSLDiagnostic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DiagnosticStorage
protected DocumentContext
protected DiagnosticInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDiagnostics
(DocumentContext documentContext) getInfo()
void
setInfo
(DiagnosticInfo info) 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, visitForEachStatement, visitForStatement, visitFuncDeclaration, visitFunction, visitGlobalMethodCall, visitGotoStatement, visitHandler, visitIfBranch, visitIfStatement, visitLabel, visitLabelName, visitLValue, visitMember, visitMethodCall, visitMethodName, visitModifier, visitModuleAnnotations, visitModuleVar, visitModuleVarDeclaration, visitModuleVars, visitModuleVarsList, visitMultilineString, visitNewExpression, visitNumeric, visitOperation, visitParam, 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, visitSub, visitSubCodeBlock, visitSubName, visitSubs, visitSubVar, visitSubVarDeclaration, 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 com.github._1c_syntax.bsl.languageserver.diagnostics.BSLDiagnostic
configure
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Field Details
-
info
-
diagnosticStorage
-
documentContext
-
-
Constructor Details
-
AbstractVisitorDiagnostic
public AbstractVisitorDiagnostic()
-
-
Method Details
-
getDiagnostics
- Specified by:
getDiagnostics
in interfaceBSLDiagnostic
-
getInfo
- Specified by:
getInfo
in interfaceBSLDiagnostic
-
setInfo
- Specified by:
setInfo
in interfaceBSLDiagnostic
-