nodes
are the basic building block
for your TruffleLanguage
.See: Description
Interface | Description |
---|---|
BlockNode.ElementExecutor<T extends Node> |
Represents a contract how block element nodes can be executed.
|
BytecodeOSRNode |
Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).
|
NodeInterface |
Common base interface for all Truffle nodes.
|
NodeUtil.NodeCountFilter | |
NodeVisitor |
Visitor for trees of nodes.
|
RepeatingNode |
A node that is repeatedly invoked as part of a Truffle loop control structure.
|
Class | Description |
---|---|
BlockNode<T extends Node> |
Represents a standard node for guest language blocks.
|
DirectCallNode |
Represents a direct call to a
CallTarget . |
EncapsulatingNodeReference |
Thread local reference class to remember the current encapsulating node of an interpreter on the
stack.
|
ExecutableNode |
Represents an executable node in a Truffle AST.
|
ExecutionSignature |
Represents an execution signature of a
RootNode . |
IndirectCallNode |
Represents an indirect call to a
CallTarget . |
LanguageInfo |
Represents public information about a language.
|
LoopNode |
A loop node calls
repeating nodes as long as
it returns true . |
Node |
Abstract base class for all Truffle nodes.
|
NodeClass |
Information about a
Node class. |
NodeCloneable |
Declarative base class for node fields that are to be cloned together with the containing node.
|
NodeUtil |
Utility class that manages the special access methods for node instances.
|
RootNode |
Represents the root node in a Truffle AST.
|
Enum | Description |
---|---|
ExplodeLoop.LoopExplosionKind |
Controls the behavior of the
ExplodeLoop annotation. |
NodeCost |
Represents a rough estimate for the cost of a
Node . |
Exception | Description |
---|---|
ControlFlowException |
An exception thrown to model control flow in a Truffle interpreter.
|
InvalidAssumptionException |
An exception that should be thrown if an assumption is checked and the check fails.
|
SlowPathException |
An exception thrown to enter a slow path.
|
UnexpectedResultException |
An exception that should be thrown if the return value cannot be represented as a value of the
return type.
|
Annotation Type | Description |
---|---|
DenyReplace |
If a
Node subtype is annotated with this annotation then replacement is denied. |
ExplodeLoop |
Specifies that loops originating from within this method should be fully unrolled.
|
Node.Child |
Marks fields that represent child nodes of this node.
|
Node.Children |
Marks array fields that are children of this node.
|
NodeInfo |
Annotation for providing additional information on nodes.
|
nodes
are the basic building block
for your TruffleLanguage
.