public abstract class AbstractExpRegularExpression extends Expansion
| Modifier and Type | Field and Description |
|---|---|
String |
m_label
The label of the regular expression (if any).
|
List<Token> |
m_lhsTokens
The LHS to which the token value of the regular expression is assigned.
|
int |
m_ordinal
The ordinal value assigned to the regular expression.
|
boolean |
m_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 |
m_rhsToken
We now allow qualified access to token members.
|
TokenProduction |
m_tpContext
If this is a top-level regular expression (nested directly within a
TokenProduction), then this field point to that TokenProduction object.
|
EOL, m_inMinimumSize, m_myGeneration, m_parent| Constructor and Description |
|---|
AbstractExpRegularExpression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMatchAnyChar() |
StringBuilder |
dump(int indent,
Set<? super Expansion> alreadyDumped) |
abstract Nfa |
generateNfa(boolean ignoreCase) |
dumpPrefix, getNextGenerationIndex, hashCode, reInit, toStringpublic String m_label
public int m_ordinal
public List<Token> m_lhsTokens
public Token m_rhsToken
public boolean m_private_rexp
public TokenProduction m_tpContext
public abstract Nfa generateNfa(boolean ignoreCase)
public boolean canMatchAnyChar()
public StringBuilder dump(int indent, Set<? super Expansion> alreadyDumped)
Copyright © 2017–2019 Philip Helger. All rights reserved.