Class ReadOrNullStdLibNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.expression.unary.UnaryExpressionNode
org.pkl.core.ast.expression.unary.AbstractReadNode
org.pkl.core.ast.expression.unary.ReadOrNullStdLibNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Stdlib nodes are shared between engines. As such they can't use a cached [VmContextReference],
which is bound to a single engine.
-
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.expression.unary.AbstractReadNode
currentModuleFields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReadOrNullStdLibNode(com.oracle.truffle.api.source.SourceSection sourceSection, ModuleKey moduleKey) -
Method Summary
Methods inherited from class org.pkl.core.ast.expression.unary.AbstractReadNode
doRead, parseUriMethods inherited from class org.pkl.core.ast.expression.unary.UnaryExpressionNode
fallbackMethods 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
-
Constructor Details
-
ReadOrNullStdLibNode
protected ReadOrNullStdLibNode(com.oracle.truffle.api.source.SourceSection sourceSection, ModuleKey moduleKey)
-
-
Method Details
-
read
-