public abstract class RegularExpression extends Expansion
Modifier and Type | Field and Description |
---|---|
java.lang.String |
label
The label of the regular expression (if any).
|
java.util.List<Token> |
lhsTokens
The LHS to which the token value of the regular expression
is assigned.
|
boolean |
private_rexp
This flag is set if the regular expression has a label prefixed
with the # symbol - this indicates that the purpose of the regular
expression is solely for defining other regular expressions.
|
Token |
rhsToken
We now allow qualified access to token members.
|
TokenProduction |
tpContext
If this is a top-level regular expression (nested directly
within a TokenProduction), then this field point to that
TokenProduction object.
|
eol, inMinimumSize, myGeneration, nextGenerationIndex, parent
Constructor and Description |
---|
RegularExpression() |
Modifier and Type | Method and Description |
---|---|
boolean |
CanMatchAnyChar() |
java.lang.StringBuffer |
dump(int indent,
java.util.Set<? super Expansion> alreadyDumped) |
abstract Nfa |
GenerateNfa(boolean ignoreCase) |
dumpPrefix, hashCode, reInit, toString
public java.lang.String label
public java.util.List<Token> lhsTokens
public Token rhsToken
public boolean private_rexp
public TokenProduction tpContext