Class UnreachableCodeDiagnostic
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
com.github._1c_syntax.bsl.languageserver.diagnostics.UnreachableCodeDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,BSLParserVisitor<ParseTree>
,ParseTreeVisitor<ParseTree>
@DiagnosticMetadata(type=ERROR,
severity=MINOR,
minutesToFix=10,
tags={DESIGN,SUSPICIOUS})
public class UnreachableCodeDiagnostic
extends AbstractVisitorDiagnostic
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
getDiagnostics, getInfo, setInfo
Methods inherited from class com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor
visitAcceptor, visitAccessCall, visitAccessIndex, visitAccessProperty, visitAddHandlerStatement, visitAnnotation, visitAnnotationName, visitAnnotationParam, visitAnnotationParamName, visitAnnotationParams, visitAssignment, visitBoolOperation, visitCallParam, visitCallParamList, visitCallStatement, visitCodeBlock, visitCompareOperation, visitCompilerDirective, visitCompilerDirectiveSymbol, visitComplexIdentifier, visitCompoundStatement, visitConstValue, visitDefaultValue, visitDoCall, visitElseBranch, visitElsifBranch, visitEvent, visitExceptCodeBlock, visitExecuteStatement, visitExpression, visitFileCodeBlock, visitFileCodeBlockBeforeSub, visitForEachStatement, visitForStatement, visitFuncDeclaration, visitFunction, visitGlobalMethodCall, 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, visitRegionEnd, visitRegionName, visitRegionStart, visitRemoveHandlerStatement, 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
-
Constructor Details
-
UnreachableCodeDiagnostic
public UnreachableCodeDiagnostic()
-
-
Method Details
-
visitFile
- Specified by:
visitFile
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitFile
in classBSLParserBaseVisitor<ParseTree>
-
visitContinueStatement
- Specified by:
visitContinueStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitContinueStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitReturnStatement
- Specified by:
visitReturnStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitReturnStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitGotoStatement
- Specified by:
visitGotoStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitGotoStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitRaiseStatement
- Specified by:
visitRaiseStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitRaiseStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitBreakStatement
- Specified by:
visitBreakStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitBreakStatement
in classBSLParserBaseVisitor<ParseTree>
-