Package com.oracle.truffle.api.dsl
Interface Introspection.Provider
- Enclosing class:
Introspection
public static interface Introspection.Provider
Internal marker interface for DSL generated code to access reflection information. A DSL user
must not refer to this type manually.
- Since:
- 0.22
-
Method Summary
Modifier and TypeMethodDescriptionstatic Introspection
Factory method to createNode
introspection data.default Introspection
Returns internal reflection data in undefined format.default Introspection
getIntrospectionData
(Node inlinedParent) Returns internal reflection data in undefined format.
-
Method Details
-
getIntrospectionData
Returns internal reflection data in undefined format. A DSL user must not call this method.- Since:
- 0.22
-
getIntrospectionData
Returns internal reflection data in undefined format. A DSL user must not call this method.- Since:
- 23.0
-
create
Factory method to createNode
introspection data. The factory is used to createIntrospection
data to be returned from thegetIntrospectionData()
method. The format of thedata
parameters is internal, thus this method shall only be used by the nodes generated by the DSL processor. A DSL user must not call this method.- Parameters:
data
- introspection data in an internal format- Returns:
- wrapped data to be used by
Introspection.getSpecializations(com.oracle.truffle.api.nodes.Node)
and similar methods - Since:
- 0.22
-