Package org.pkl.core.ast.type
Class TypeTestNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.type.TypeTestNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Field Summary
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionTypeTestNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode valueNode, UnresolvedTypeNode unresolvedTypeNode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecuteBoolean(com.oracle.truffle.api.frame.VirtualFrame frame) executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame) Methods inherited from class org.pkl.core.ast.ExpressionNode
executeFloat, executeIntMethods inherited from class org.pkl.core.ast.PklNode
exceptionBuilder, getShortName, getSourceSection, toStringMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize
-
Constructor Details
-
TypeTestNode
public TypeTestNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode valueNode, UnresolvedTypeNode unresolvedTypeNode)
-
-
Method Details
-
executeGeneric
- Specified by:
executeGenericin classExpressionNode
-
executeBoolean
public boolean executeBoolean(com.oracle.truffle.api.frame.VirtualFrame frame) - Overrides:
executeBooleanin classExpressionNode
-