Annotation Interface NodeInfo
Annotation for providing additional information on nodes.
- Since:
- 0.8 or earlier
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.in 24.1 without replacementA human readable explanation of the purpose of the annotatedNode.A description, providing a user-readable explanation of the source language of the annotatedNode.Short name representing the node that can be used for debugging.
-
Element Details
-
shortName
String shortNameShort name representing the node that can be used for debugging.- Returns:
- the short name
- Since:
- 0.8 or earlier
- Default:
""
-
cost
Deprecated.in 24.1 without replacementProvides a rough estimate for the cost of the annotatedNode. This estimate can be used by runtime systems or guest languages to implement heuristics based on Truffle ASTs.- Since:
- 0.8 or earlier
- See Also:
- Default:
MONOMORPHIC
-
description
-
language
String languageA description, providing a user-readable explanation of the source language of the annotatedNode. Can be used e.g. for debugging or visualization purposes. Typically this information is set only in an abstract base node for the language implementation.- Returns:
- the description
- Since:
- 0.8 or earlier
- Default:
""
-