Class ObjectLiteralNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.expression.literal.ObjectLiteralNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
GeneratorObjectLiteralNode,SpecializedObjectLiteralNode
-
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
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final VmLanguageprotected final @Nullable com.oracle.truffle.api.frame.FrameDescriptorprotected final UnresolvedTypeNode[]protected final StringFields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionObjectLiteralNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, String qualifiedScopeName, boolean isCustomThisScope, @Nullable com.oracle.truffle.api.frame.FrameDescriptor parametersDescriptor, UnresolvedTypeNode[] parameterTypes) -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanprotected abstract ObjectLiteralNodecopy(ExpressionNode newParentNode) protected final AmendFunctionNodecreateAmendFunctionNode(com.oracle.truffle.api.frame.VirtualFrame frame) protected abstract ObjectexecuteWithParent(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent) protected abstract ExpressionNodeprotected static booleanisTypedObjectClass(VmClass clazz) Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloat, executeGeneric, 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
-
Field Details
-
language
-
qualifiedScopeName
-
isCustomThisScope
protected final boolean isCustomThisScope -
parametersDescriptor
-
parameterTypes
-
-
Constructor Details
-
ObjectLiteralNode
public ObjectLiteralNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, String qualifiedScopeName, boolean isCustomThisScope, @Nullable @Nullable com.oracle.truffle.api.frame.FrameDescriptor parametersDescriptor, UnresolvedTypeNode[] parameterTypes)
-
-
Method Details
-
getParentNode
-
executeWithParent
-
copy
-
createAmendFunctionNode
protected final AmendFunctionNode createAmendFunctionNode(com.oracle.truffle.api.frame.VirtualFrame frame) -
isTypedObjectClass
-
checkIsValidFunctionAmendment
-