Class DebugEntry

java.lang.Object
redempt.redlex.debug.DebugEntry

public class DebugEntry extends Object
Represents one step in the tokenizing process
  • Constructor Details

    • DebugEntry

      public DebugEntry(TokenType owner, int row, int col, int length, int depth, int status)
  • Method Details

    • getOwner

      public TokenType getOwner()
      Returns:
      The TokenType that performed this step
    • getLine

      public int getLine()
      Returns:
      The line number of the step
    • getCol

      public int getCol()
      Returns:
      The column number of the step
    • getLength

      public int getLength()
    • getStatus

      public int getStatus()
      Returns:
      The status of the step - 0 for begin, 1 for failure, 2 for success
    • getDepth

      public int getDepth()
      Returns:
      The depth of this step in the token tree
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      A String representation of this step