public class ConstSubst
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ParseNode[] |
constMap
This array contains null elements.
|
int |
hash |
Constructor and Description |
---|
ConstSubst(ParseNode[] constMap) |
Modifier and Type | Method and Description |
---|---|
protected int |
calcHashCode() |
static ConstSubst |
createFromNode(ParseNode node)
This function should be used only during "info"'s initialization.
|
boolean |
equals(java.lang.Object obj) |
int[] |
getVarPlace() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isTheSameConstMap(ParseNode candidate) |
java.lang.String |
toString() |
public final ParseNode[] constMap
public final int hash
public ConstSubst(ParseNode[] constMap)
public static ConstSubst createFromNode(ParseNode node)
node
- the input nodepublic boolean isEmpty()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
protected int calcHashCode()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isTheSameConstMap(ParseNode candidate)
candidate
- the candidatepublic int[] getVarPlace()
public java.lang.String toString()
toString
in class java.lang.Object