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