Package org.javacc.parser
Class RCharacterList
- java.lang.Object
-
- org.javacc.parser.Expansion
-
- org.javacc.parser.RegularExpression
-
- org.javacc.parser.RCharacterList
-
public class RCharacterList extends RegularExpression
Describes character lists.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List
descriptors
This is the list of descriptors of the character list.boolean
negated_list
This is true if a tilde (~) appears before the character list.-
Fields 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
CanMatchAnyChar()
Nfa
GenerateNfa(boolean ignoreCase)
-
Methods inherited from class org.javacc.parser.RegularExpression
dump
-
Methods inherited from class org.javacc.parser.Expansion
dumpPrefix, hashCode, reInit, toString
-
-
-
-
Field Detail
-
negated_list
public boolean negated_list
This is true if a tilde (~) appears before the character list. Otherwise, this is false.
-
descriptors
public java.util.List descriptors
This is the list of descriptors of the character list. Each list entry will narrow to either SingleCharacter or to CharacterRange.
-
-
Method Detail
-
GenerateNfa
public Nfa GenerateNfa(boolean ignoreCase)
- Specified by:
GenerateNfa
in classRegularExpression
-
CanMatchAnyChar
public boolean CanMatchAnyChar()
- Overrides:
CanMatchAnyChar
in classRegularExpression
-
-