Class ParsingEnvironment

java.lang.Object
ghidra.sleigh.grammar.ParsingEnvironment

public class ParsingEnvironment extends Object
  • Constructor Details

  • Method Details

    • getLexingErrors

      public int getLexingErrors()
    • getParsingErrors

      public int getParsingErrors()
    • lexingError

      public void lexingError()
    • parsingError

      public void parsingError()
    • getLocator

      public Locator getLocator()
    • getWriter

      public LineArrayListWriter getWriter()
    • getErrorHeader

      public String getErrorHeader(org.antlr.runtime.RecognitionException e)
    • getLexerErrorMessage

      public String getLexerErrorMessage(org.antlr.runtime.RecognitionException e, String[] tokenNames)
    • getParserErrorMessage

      public String getParserErrorMessage(org.antlr.runtime.RecognitionException e, String[] tokenNames)
    • getErrorMessage

      public String getErrorMessage(org.antlr.runtime.RecognitionException e, String[] tokenNames, LineArrayListWriter mywriter)
    • getTokenErrorDisplay

      public String getTokenErrorDisplay(org.antlr.runtime.Token t)
    • format

      public String format(BailoutException be)