Package com.oracle.truffle.api.nodes
Class NodeClass
java.lang.Object
com.oracle.truffle.api.nodes.NodeClass
Information about a
Node
class. A single instance of this class is allocated for every
subclass of Node
that is used.- Since:
- 0.8 or earlier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NodeClass
static NodeClass
protected abstract String
getFieldName
(Object field) protected abstract Object
getFieldObject
(Object field, Node receiver) protected abstract Class
<?> getFieldType
(Object field) protected abstract Object
getFieldValue
(Object field, Node receiver) protected abstract Object[]
getType()
protected abstract boolean
isChildField
(Object field) protected abstract boolean
isChildrenField
(Object field) protected abstract boolean
isCloneableField
(Object field) protected abstract boolean
Returnstrue
ifDenyReplace
was not set for this node.makeIterator
(Node node) protected abstract void
putFieldObject
(Object field, Node receiver, Object value)
-
Constructor Details
-
NodeClass
- Since:
- 0.8 or earlier
-
-
Method Details
-
get
- Since:
- 0.8 or earlier
-
get
- Since:
- 0.8 or earlier
-
makeIterator
- Since:
- 0.8 or earlier
-
isReplaceAllowed
protected abstract boolean isReplaceAllowed()Returnstrue
ifDenyReplace
was not set for this node.- Since:
- 22.2
-
getType
- Returns:
- the clazz of node this
NodeClass
describes - Since:
- 0.8 or earlier
-
getNodeFieldArray
- Since:
- 20.2
-
putFieldObject
- Since:
- 0.14
-
getFieldObject
- Since:
- 0.14
-
getFieldValue
- Since:
- 0.14
-
getFieldType
- Since:
- 0.14
-
getFieldName
- Since:
- 0.14
-
isChildField
- Since:
- 0.14
-
isChildrenField
- Since:
- 0.14
-
isCloneableField
- Since:
- 0.14
-