Class RStringLiteral
java.lang.Object
EDU.purdue.jtb.parser.Expansion_
EDU.purdue.jtb.parser.RegularExpression_
EDU.purdue.jtb.parser.RStringLiteral
Describes string literals.
-
Nested Class Summary
Nested classes/interfaces inherited from class Expansion_
Expansion_.EXP_TYPE -
Field Summary
FieldsFields inherited from class RegularExpression_
label, lhsTokens, private_rexp, rhsToken, tpContextFields inherited from class Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent -
Constructor Summary
ConstructorsConstructorDescriptionStandard constructorRStringLiteral(Token t, String im) Constructor with parameters. -
Method Summary
Methods inherited from class RegularExpression_
CanMatchAnyCharMethods inherited from class Expansion_
dumpPrefix
-
Field Details
-
image
The string image of the literal -
allImages
-
-
Constructor Details
-
RStringLiteral
public RStringLiteral()Standard constructor -
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. -
dump
- Overrides:
dumpin classRegularExpression_- Parameters:
indent- - the number of spaces for indentingalreadyDumped- - a Set of objects already dumped (unused)- Returns:
- the formatted string dumping the class
-
toString
- Overrides:
toStringin classExpansion_
-