Class 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.
  • Method Details

    • getPropertyName

      public String getPropertyName()
      Description copied from interface: PropertyKey
      Get the property name.
      Specified by:
      getPropertyName in interface PropertyKey
      Returns:
      the property name
    • getPropertyNameTS

      public com.oracle.truffle.api.strings.TruffleString getPropertyNameTS()
      Specified by:
      getPropertyNameTS in interface PropertyKey