Package EDU.purdue.jtb.parser
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 EDU.purdue.jtb.parser.Expansion_
Expansion_.EXP_TYPE
-
Field Summary
FieldsFields inherited from class EDU.purdue.jtb.parser.RegularExpression_
label, lhsTokens, private_rexp, rhsToken, tpContext
Fields inherited from class EDU.purdue.jtb.parser.Expansion_
EOL, inMinimumSize, myGeneration, nextGenerationIndex, parent
-
Constructor Summary
ConstructorsConstructorDescriptionStandard constructorRStringLiteral
(Token t, String im) Constructor with parameters. -
Method Summary
Methods inherited from class EDU.purdue.jtb.parser.RegularExpression_
CanMatchAnyChar
Methods inherited from class EDU.purdue.jtb.parser.Expansion_
dumpPrefix
-
Field Details
-
image
The string image of the literal -
allImages
-
-
Constructor Details
-
RStringLiteral
public RStringLiteral()Standard constructor -
RStringLiteral
Constructor with parameters.- Parameters:
t
- - the tokenim
- - the token image
-
-
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:
dump
in 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:
toString
in classExpansion_
-