Package redempt.redlex.debug
Class DebugLexer
java.lang.Object
redempt.redlex.processing.Lexer
redempt.redlex.debug.DebugLexer
A specialized Lexer used for debugging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTokenizes an input StringTokenizes an input StringMethods inherited from class redempt.redlex.processing.Lexer
debug, getRoot, getStrategy, setRetainEmpty, setRetainStringLiterals, setRuleByName, setUnnamedRule
-
Constructor Details
-
DebugLexer
Create a Lexer from a token. Not recommended unless you want to do everything by hand.- Parameters:
root
- The root TokenType for this Lexer
-
-
Method Details