Class LiteralNode.PrimitiveLiteralNode<T>
java.lang.Object
com.oracle.js.parser.ir.Node
com.oracle.js.parser.ir.Expression
com.oracle.js.parser.ir.LiteralNode<T>
com.oracle.js.parser.ir.LiteralNode.PrimitiveLiteralNode<T>
- Type Parameters:
T- the literal type
- All Implemented Interfaces:
PropertyKey, Cloneable
- Enclosing class:
LiteralNode<T>
public static class LiteralNode.PrimitiveLiteralNode<T>
extends LiteralNode<T>
implements PropertyKey
Super class for primitive (side-effect free) literals.
-
Nested Class Summary
Nested classes/interfaces inherited from class LiteralNode
LiteralNode.ArrayLiteralNode, LiteralNode.PrimitiveLiteralNode<T> -
Field Summary
Fields inherited from class LiteralNode
value -
Method Summary
Modifier and TypeMethodDescriptionGet the property name.com.oracle.truffle.api.strings.TruffleStringMethods inherited from class LiteralNode
accept, accept, getElementExpressions, getObject, getString, getValue, isArray, isString, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, toStringMethods inherited from class Expression
getFinish, getFinishWithoutParens, getStart, getStartWithoutParens, isAlwaysFalse, isAlwaysTrue, isParenthesized, isSelfModifying, makeParenthesizedMethods inherited from class Node
clone, equals, getSourceOrder, getToken, hashCode, isAssignment, isLoop, isTokenType, tokenType, toString, toString
-
Method Details
-
getPropertyName
Description copied from interface:PropertyKeyGet the property name.- Specified by:
getPropertyNamein interfacePropertyKey- Returns:
- the property name
-
getPropertyNameTS
public com.oracle.truffle.api.strings.TruffleString getPropertyNameTS()- Specified by:
getPropertyNameTSin interfacePropertyKey
-