Class NestedStatementsDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.parser.BSLParserBaseListener
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractListenerDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.NestedStatementsDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,BSLParserListener
,ParseTreeListener
@DiagnosticMetadata(type=CODE_SMELL,
severity=CRITICAL,
scope=ALL,
minutesToFix=30,
tags={BADPRACTICE,BRAINOVERLOAD})
public class NestedStatementsDiagnostic
extends AbstractListenerDiagnostic
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractListenerDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractListenerDiagnostic
getDiagnostics, getInfo, setInfo
Methods inherited from class com.github._1c_syntax.bsl.parser.BSLParserBaseListener
enterAcceptor, enterAccessCall, enterAccessIndex, enterAccessProperty, enterAddHandlerStatement, enterAnnotation, enterAnnotationName, enterAnnotationParam, enterAnnotationParamName, enterAnnotationParams, enterAssignment, enterBoolOperation, enterBreakStatement, enterCallParam, enterCallParamList, enterCallStatement, enterCodeBlock, enterCompareOperation, enterCompilerDirective, enterCompilerDirectiveSymbol, enterComplexIdentifier, enterCompoundStatement, enterConstValue, enterContinueStatement, enterDefaultValue, enterDoCall, enterElseBranch, enterElsifBranch, enterEvent, enterEveryRule, enterExceptCodeBlock, enterExecuteStatement, enterExpression, enterFile, enterFileCodeBlock, enterFileCodeBlockBeforeSub, enterFuncDeclaration, enterFunction, enterGlobalMethodCall, enterGotoStatement, enterHandler, enterIfBranch, enterLabel, enterLabelName, enterLValue, enterMember, enterMethodCall, enterMethodName, enterModifier, enterModuleAnnotations, enterModuleVar, enterModuleVarDeclaration, enterModuleVars, enterModuleVarsList, enterMultilineString, enterNewExpression, enterNumeric, enterOperation, enterParam, enterParamList, enterPreproc_boolOperation, enterPreproc_else, enterPreproc_elsif, enterPreproc_endif, enterPreproc_expression, enterPreproc_if, enterPreproc_logicalExpression, enterPreproc_logicalOperand, enterPreproc_native, enterPreproc_symbol, enterPreproc_unknownSymbol, enterPreprocessor, enterProcDeclaration, enterProcedure, enterRaiseStatement, enterRegionEnd, enterRegionName, enterRegionStart, enterRemoveHandlerStatement, enterReturnStatement, enterShebang, enterStatement, enterString, enterSub, enterSubCodeBlock, enterSubName, enterSubs, enterSubVar, enterSubVarDeclaration, enterSubVars, enterSubVarsList, enterTernaryOperator, enterTryCodeBlock, enterTypeName, enterUnaryModifier, enterUse, enterUsedLib, enterVar_name, enterWaitExpression, enterWaitStatement, exitAcceptor, exitAccessCall, exitAccessIndex, exitAccessProperty, exitAddHandlerStatement, exitAnnotation, exitAnnotationName, exitAnnotationParam, exitAnnotationParamName, exitAnnotationParams, exitAssignment, exitBoolOperation, exitBreakStatement, exitCallParam, exitCallParamList, exitCallStatement, exitCodeBlock, exitCompareOperation, exitCompilerDirective, exitCompilerDirectiveSymbol, exitComplexIdentifier, exitCompoundStatement, exitConstValue, exitContinueStatement, exitDefaultValue, exitDoCall, exitElseBranch, exitElsifBranch, exitEvent, exitEveryRule, exitExceptCodeBlock, exitExecuteStatement, exitExpression, exitFile, exitFileCodeBlock, exitFileCodeBlockBeforeSub, exitFuncDeclaration, exitFunction, exitGlobalMethodCall, exitGotoStatement, exitHandler, exitIfBranch, exitLabel, exitLabelName, exitLValue, exitMember, exitMethodCall, exitMethodName, exitModifier, exitModuleAnnotations, exitModuleVar, exitModuleVarDeclaration, exitModuleVars, exitModuleVarsList, exitMultilineString, exitNewExpression, exitNumeric, exitOperation, exitParam, exitParamList, exitPreproc_boolOperation, exitPreproc_else, exitPreproc_elsif, exitPreproc_endif, exitPreproc_expression, exitPreproc_if, exitPreproc_logicalExpression, exitPreproc_logicalOperand, exitPreproc_native, exitPreproc_symbol, exitPreproc_unknownSymbol, exitPreprocessor, exitProcDeclaration, exitProcedure, exitRaiseStatement, exitRegionEnd, exitRegionName, exitRegionStart, exitRemoveHandlerStatement, exitReturnStatement, exitShebang, exitStatement, exitString, exitSub, exitSubCodeBlock, exitSubName, exitSubs, exitSubVar, exitSubVarDeclaration, exitSubVars, exitSubVarsList, exitTernaryOperator, exitTryCodeBlock, exitTypeName, exitUnaryModifier, exitUse, exitUsedLib, exitVar_name, exitWaitExpression, exitWaitStatement, 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
-
Constructor Details
-
NestedStatementsDiagnostic
public NestedStatementsDiagnostic()
-
-
Method Details
-
init
-
enterIfStatement
- Specified by:
enterIfStatement
in interfaceBSLParserListener
- Overrides:
enterIfStatement
in classBSLParserBaseListener
-
exitIfStatement
- Specified by:
exitIfStatement
in interfaceBSLParserListener
- Overrides:
exitIfStatement
in classBSLParserBaseListener
-
enterWhileStatement
- Specified by:
enterWhileStatement
in interfaceBSLParserListener
- Overrides:
enterWhileStatement
in classBSLParserBaseListener
-
exitWhileStatement
- Specified by:
exitWhileStatement
in interfaceBSLParserListener
- Overrides:
exitWhileStatement
in classBSLParserBaseListener
-
enterForStatement
- Specified by:
enterForStatement
in interfaceBSLParserListener
- Overrides:
enterForStatement
in classBSLParserBaseListener
-
exitForStatement
- Specified by:
exitForStatement
in interfaceBSLParserListener
- Overrides:
exitForStatement
in classBSLParserBaseListener
-
enterForEachStatement
- Specified by:
enterForEachStatement
in interfaceBSLParserListener
- Overrides:
enterForEachStatement
in classBSLParserBaseListener
-
exitForEachStatement
- Specified by:
exitForEachStatement
in interfaceBSLParserListener
- Overrides:
exitForEachStatement
in classBSLParserBaseListener
-
enterTryStatement
- Specified by:
enterTryStatement
in interfaceBSLParserListener
- Overrides:
enterTryStatement
in classBSLParserBaseListener
-
exitTryStatement
- Specified by:
exitTryStatement
in interfaceBSLParserListener
- Overrides:
exitTryStatement
in classBSLParserBaseListener
-