Package org.pkl.core.runtime
Class VmTyped
java.lang.Object
org.pkl.core.runtime.VmValue
org.pkl.core.runtime.VmObjectLike
org.pkl.core.runtime.VmObject
org.pkl.core.runtime.VmTyped
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pkl.core.runtime.VmObjectLike
VmObjectLike.ForcedMemberValueConsumer, VmObjectLike.MemberValueConsumer -
Field Summary
Fields inherited from class org.pkl.core.runtime.VmObject
cachedHash, cachedValues, members, parentFields inherited from class org.pkl.core.runtime.VmObjectLike
enclosingFrame, extraStorage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(VmValueConverter<T> converter, Iterable<Object> path) voidaccept(VmValueVisitor visitor) voidaddProperties(org.graalvm.collections.UnmodifiableEconomicMap<Object, ObjectMember> properties) voidaddProperty(ObjectMember property) booleanEnables calling `vmValue.equals()` when not behind a Truffle boundary.export()Exports this object to an external representation.Returns the parent object in the prototype chain.inthashCode()booleanbooleanvoidlateInitVmClass(VmClass clazz) Methods inherited from class org.pkl.core.runtime.VmObject
exportMembers, force, force, forceAndIterateMemberValues, getCachedValue, getMember, getMembers, hasCachedValue, hasMember, iterateAlreadyForcedMemberValues, iterateMembers, iterateMemberValues, lateInitParent, setCachedValue, toStringMethods inherited from class org.pkl.core.runtime.VmObjectLike
getEnclosingFrame, getEnclosingOwner, getEnclosingReceiver, getExtraStorage, hasExtraStorage, setExtraStorageMethods inherited from class org.pkl.core.runtime.VmValue
export, exportNullable, force, getPrototype, isDynamic, isListing, isMapping, isSequence, isTyped
-
Constructor Details
-
VmTyped
-
-
Method Details
-
lateInitVmClass
-
addProperty
-
addProperties
public void addProperties(org.graalvm.collections.UnmodifiableEconomicMap<Object, ObjectMember> properties) -
getVmClass
- Specified by:
getVmClassin classVmValue
-
getParent
Description copied from class:VmObjectLikeReturns the parent object in the prototype chain. For each concrete subclass X of VmOwner, the exact return type of this method is `X|VmTyped`. -
isPrototype
public boolean isPrototype()- Overrides:
isPrototypein classVmValue
-
isModuleObject
public boolean isModuleObject()- Overrides:
isModuleObjectin classVmObjectLike
-
getModuleInfo
-
getModuleMirror
-
getSupermoduleMirror
-
getImports
-
getClassMirrors
-
getTypeAliasMirrors
-
export
Description copied from class:VmObjectLikeExports this object to an external representation. Does not export local, hidden, or external properties- Specified by:
exportin classVmObjectLike
-
accept
-
accept
-
equals
Description copied from class:VmValueEnables calling `vmValue.equals()` when not behind a Truffle boundary. -
hashCode
public int hashCode()
-