Package com.oracle.truffle.api.dsl
package com.oracle.truffle.api.dsl
-
ClassDescriptionSpecifies a factory method that creates a
Nodewhich 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 withFallbackis treated as aSpecializationthat implicitly links all the guards of all other declaredSpecializationannotated 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 forSpecializationannotations 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.ANodeFieldselement defines a field for the generatedNode.Provides a way to define a custom type check for a defined type.EachNodehas oneTypeSystemat its root to define the types that can be used throughout the system.References aTypeSystemon a node.Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values.