Package redempt.redlex.debug
Class DebugEntry
java.lang.Object
redempt.redlex.debug.DebugEntry
Represents one step in the tokenizing process
-
Constructor Summary
ConstructorDescriptionDebugEntry
(TokenType owner, int row, int col, int length, int depth, int status) -
Method Summary
-
Constructor Details
-
DebugEntry
-
-
Method Details
-
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
-