Package org.javacc.parser
Class RStringLiteral
java.lang.Object
org.javacc.parser.Expansion
org.javacc.parser.RegularExpression
org.javacc.parser.RStringLiteral
Describes string literals.
-
Field Summary
FieldsFields inherited from class org.javacc.parser.RegularExpression
label, lhsTokens, private_rexp, rhsToken, tpContext
Fields inherited from class org.javacc.parser.Expansion
eol, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
BuildTokenizerData
(TokenizerData tokenizerData) static void
DumpStrLiteralImages
(CodeGenerator codeGenerator) static void
DumpStrLiteralImagesForJava
(CodeGenerator codeGenerator) void
GenerateDfa
(CodeGenerator codeGenerator, int kind) Used for top level string literals.GenerateNfa
(boolean ignoreCase) static void
reInit()
Return to original state.static void
ReInit()
Initialize all the static variables, so that there is no interference between the various states of the lexer.toString()
static void
UpdateStringLiteralData
(int generatedNfaStates, int lexStateIndex) Methods inherited from class org.javacc.parser.RegularExpression
CanMatchAnyChar
Methods inherited from class org.javacc.parser.Expansion
dumpPrefix, getProductionName, hashCode
-
Field Details
-
image
The string image of the literal. -
allImages
-
-
Constructor Details
-
RStringLiteral
public RStringLiteral() -
RStringLiteral
-
-
Method Details
-
ReInit
public static void ReInit()Initialize all the static variables, so that there is no interference between the various states of the lexer. Need to call this method after generating code for each lexical state. -
DumpStrLiteralImages
-
DumpStrLiteralImagesForJava
-
GenerateDfa
Used for top level string literals. -
GenerateNfa
- Specified by:
GenerateNfa
in classRegularExpression
-
reInit
public static void reInit()Return to original state. -
dump
- Overrides:
dump
in classRegularExpression
-
toString
-
UpdateStringLiteralData
public static void UpdateStringLiteralData(int generatedNfaStates, int lexStateIndex) -
BuildTokenizerData
-