Package com.oracle.truffle.api.dsl
package com.oracle.truffle.api.dsl
-
ClassDescriptionSpecifies a factory method that creates a
Node
which is used to cast this child.This annotation is internally known by the dsl processor and used to expect errors for testing purposes.A method annotated withFallback
is treated as aSpecialization
that implicitly links all the guards of all other declaredSpecialization
annotated methods of the operation in a negated form.Marks a type as being generated based on another class or method.Imports all public static methods usable as guards forSpecialization
annotations to the current class.Declares one or multiple assumptions for use inside a source code generation enabled node.NodeFactory<T>Enables the dynamic creation of generated nodes.ANodeFields
element defines a field for the generatedNode
.Provides a way to define a custom type check for a defined type.EachNode
has oneTypeSystem
at its root to define the types that can be used throughout the system.References aTypeSystem
on a node.Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values.