Class UsingThisFormDiagnostic
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.UsingThisFormDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,QuickFixProvider
,BSLParserVisitor<ParseTree>
,ParseTreeVisitor<ParseTree>
@DiagnosticMetadata(type=CODE_SMELL,
severity=MINOR,
scope=BSL,
modules=FormModule,
minutesToFix=1,
compatibilityMode=COMPATIBILITY_MODE_8_3_3,
tags={STANDARD,DEPRECATED})
public class UsingThisFormDiagnostic
extends AbstractVisitorDiagnostic
implements QuickFixProvider
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQuickFixes
(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) Methods 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, visitBreakStatement, visitCallParam, visitCallParamList, visitCodeBlock, visitCompareOperation, visitCompilerDirective, visitCompilerDirectiveSymbol, visitCompoundStatement, visitConstValue, visitContinueStatement, visitDefaultValue, visitDoCall, visitElseBranch, visitElsifBranch, visitEvent, visitExceptCodeBlock, visitExecuteStatement, visitExpression, visitFile, visitFileCodeBlock, visitFileCodeBlockBeforeSub, visitForEachStatement, visitForStatement, visitFuncDeclaration, visitGlobalMethodCall, visitGotoStatement, visitHandler, visitIfBranch, visitIfStatement, visitLabel, visitLabelName, 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, 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
-
Constructor Details
-
UsingThisFormDiagnostic
public UsingThisFormDiagnostic()
-
-
Method Details
-
visitProcedure
- Specified by:
visitProcedure
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitProcedure
in classBSLParserBaseVisitor<ParseTree>
-
visitFunction
- Specified by:
visitFunction
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitFunction
in classBSLParserBaseVisitor<ParseTree>
-
visitCallStatement
- Specified by:
visitCallStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitCallStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitComplexIdentifier
- Specified by:
visitComplexIdentifier
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitComplexIdentifier
in classBSLParserBaseVisitor<ParseTree>
-
getQuickFixes
public List<CodeAction> getQuickFixes(List<Diagnostic> diagnostics, CodeActionParams params, DocumentContext documentContext) - Specified by:
getQuickFixes
in interfaceQuickFixProvider
-
visitLValue
- Specified by:
visitLValue
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitLValue
in classBSLParserBaseVisitor<ParseTree>
-