Class ParseErrorDiagnostic

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.ParseErrorDiagnostic
All Implemented Interfaces:
BSLDiagnostic, com.github._1c_syntax.bsl.parser.BSLParserListener, org.antlr.v4.runtime.tree.ParseTreeListener

public class ParseErrorDiagnostic extends AbstractListenerDiagnostic
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
     

    Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractListenerDiagnostic

    diagnosticStorage, documentContext, info
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enterFile​(com.github._1c_syntax.bsl.parser.BSLParser.FileContext ctx)
     
    void
    visitErrorNode​(org.antlr.v4.runtime.tree.ErrorNode node)
     

    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, enterFileCodeBlock, enterFileCodeBlockBeforeSub, enterForEachStatement, enterForStatement, enterFuncDeclaration, enterFunction, enterGlobalMethodCall, enterGotoStatement, enterHandler, enterIfBranch, enterIfStatement, enterLabel, enterLabelName, enterLValue, enterMember, enterMethodCall, enterMethodName, enterModifier, 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_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, enterTryStatement, enterTypeName, enterUnaryModifier, enterUse, enterUsedLib, enterVar_name, enterWaitStatement, enterWhileStatement, 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, exitForEachStatement, exitForStatement, exitFuncDeclaration, exitFunction, exitGlobalMethodCall, exitGotoStatement, exitHandler, exitIfBranch, exitIfStatement, exitLabel, exitLabelName, exitLValue, exitMember, exitMethodCall, exitMethodName, exitModifier, 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_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, exitTryStatement, exitTypeName, exitUnaryModifier, exitUse, exitUsedLib, exitVar_name, exitWaitStatement, exitWhileStatement, 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
  • Field Details

  • Constructor Details

    • ParseErrorDiagnostic

      public ParseErrorDiagnostic()
  • Method Details

    • visitErrorNode

      public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
      Specified by:
      visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListener
      Overrides:
      visitErrorNode in class com.github._1c_syntax.bsl.parser.BSLParserBaseListener
    • enterFile

      public void enterFile(com.github._1c_syntax.bsl.parser.BSLParser.FileContext ctx)
      Specified by:
      enterFile in interface com.github._1c_syntax.bsl.parser.BSLParserListener
      Overrides:
      enterFile in class com.github._1c_syntax.bsl.parser.BSLParserBaseListener