public class NativeNodeIdentifier_c extends NodeIdentifier_c implements NativeNodeIdentifier
Modifier and Type | Field and Description |
---|---|
protected polyglot.types.CodeInstance |
code |
protected int |
idx |
context, hc_valid, memoizedHashCode, node
ENTRY, EXIT
Constructor and Description |
---|
NativeNodeIdentifier_c(AnalysisContext context,
polyglot.types.CodeInstance ci) |
NativeNodeIdentifier_c(AnalysisContext context,
polyglot.types.CodeInstance ci,
int index) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeHashCode() |
boolean |
equals(java.lang.Object o) |
polyglot.types.CodeInstance |
getCodeInstance() |
int |
getIndex() |
boolean |
isNative() |
java.lang.String |
toString() |
getContext, getNode, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContext, getNode
public NativeNodeIdentifier_c(AnalysisContext context, polyglot.types.CodeInstance ci, int index)
context
- The AnalysisContext the missing code executes in.ci
- The code instance of the missing code.idx
- An index for distinguishing multiple program points within missing code.public NativeNodeIdentifier_c(AnalysisContext context, polyglot.types.CodeInstance ci)
public boolean isNative()
isNative
in interface NodeIdentifier
isNative
in class NodeIdentifier_c
public boolean equals(java.lang.Object o)
equals
in class NodeIdentifier_c
protected int computeHashCode()
computeHashCode
in class NodeIdentifier_c
public java.lang.String toString()
toString
in class NodeIdentifier_c
public polyglot.types.CodeInstance getCodeInstance()
getCodeInstance
in interface NativeNodeIdentifier
public int getIndex()
getIndex
in interface NativeNodeIdentifier