Package com.oracle.truffle.api.nodes
package com.oracle.truffle.api.nodes
Abstract syntax tree
nodes
are the basic building block
for your TruffleLanguage
.- Since:
- 0.8 or older
-
ClassDescriptionRepresents a standard node for guest language blocks.BlockNode.ElementExecutor<T extends Node>Represents a contract how block element nodes can be executed.Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).An exception thrown to model control flow in a Truffle interpreter.If a
Node
subtype is annotated with this annotation thenreplacement
is denied.Represents a direct call to aCallTarget
.Thread local reference class to remember the current encapsulating node of an interpreter on the stack.Represents an executable node in a Truffle AST.Represents an execution signature of aRootNode
.Specifies that loops originating from within this method should be fully unrolled.Controls the behavior of theExplodeLoop
annotation.Represents an indirect call to aCallTarget
.An exception that should be thrown if an assumption is checked and the check fails.Represents public information about a language.A loop node callsrepeating nodes
as long as it returnstrue
.Abstract base class for all Truffle nodes.Marks fields that represent child nodes of this node.Marks array fields that are children of this node.Information about aNode
class.Declarative base class for node fields that are to be cloned together with the containing node.Deprecated.in 24.1 without replacementAnnotation for providing additional information on nodes.Common base interface for all Truffle nodes.Utility class that manages the special access methods for node instances.Visitor for trees of nodes.A node that is repeatedly invoked as part of a Truffle loop control structure.Represents the root node in a Truffle AST.An exception thrown to enter a slow path.Marks a node unadoptable, this means that the parent pointer will never be written by the Truffle framework.An exception that should be thrown if the return value cannot be represented as a value of the return type.