public class PatternNode extends ASTNode
_
or
x_
)Modifier and Type | Field and Description |
---|---|
protected ASTNode |
fConstraint |
protected boolean |
fDefault |
protected SymbolNode |
fSymbol |
fStringValue
Constructor and Description |
---|
PatternNode(SymbolNode symbol,
ASTNode constraint) |
PatternNode(SymbolNode symbol,
ASTNode constraint,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ASTNode |
getConstraint() |
SymbolNode |
getSymbol() |
int |
hashCode() |
boolean |
isDefault() |
java.lang.String |
toString() |
protected final SymbolNode fSymbol
protected final boolean fDefault
protected final ASTNode fConstraint
public PatternNode(SymbolNode symbol, ASTNode constraint)
public PatternNode(SymbolNode symbol, ASTNode constraint, boolean optional)
public ASTNode getConstraint()
public SymbolNode getSymbol()
public boolean isDefault()