Class Semanticize
java.lang.Object
org.javacc.parser.Semanticize
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classObjects of this class are created from class Semanticize to work on references to regular expressions from RJustName's.private static classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Contextprivate List<RegExprSpec> private static Stringprivate longprivate static RegularExpressionprivate List<List<RegExprSpec>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddLeftMost(NormalProduction prod, Expansion exp) static booleanprotected final Contextprivate static booleanhasIgnoreCase(Hashtable<String, RegularExpression> table, String str) (package private) final longprivate voidprepareToRemove(List<RegExprSpec> vec, RegExprSpec item) private static booleanprodWalk(NormalProduction prod, Context context) private voidprivate static booleanrexpWalk(RegularExpression rexp, Context context) static void
-
Field Details
-
context
-
removeList
-
itemList
-
nextGenerationIndex
private long nextGenerationIndex -
other
-
loopString
-
-
Constructor Details
-
Semanticize
-
-
Method Details
-
getContext
-
prepareToRemove
-
removePreparedItems
private void removePreparedItems() -
nextGenerationIndex
final long nextGenerationIndex() -
start
- Throws:
MetaParseException
-
hasIgnoreCase
-
emptyExpansionExists
-
addLeftMost
-
prodWalk
-
rexpWalk
-