Class TypeOfNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class TypeOfNode extends JSUnaryNode
See Also:
  • Constructor Details

  • Method Details

    • create

      public static TypeOfNode create(JavaScriptNode operand)
    • create

      public static TypeOfNode create()
    • executeString

      public abstract com.oracle.truffle.api.strings.TruffleString executeString(Object operand)
    • hasTag

      public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
      Specified by:
      hasTag in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
      Overrides:
      hasTag in class JavaScriptNode
    • getNodeObject

      public Object getNodeObject()
      Specified by:
      getNodeObject in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
      Overrides:
      getNodeObject in class JSUnaryNode
    • isResultAlwaysOfType

      public boolean isResultAlwaysOfType(Class<?> clazz)
      Overrides:
      isResultAlwaysOfType in class JavaScriptNode
    • doString

      protected com.oracle.truffle.api.strings.TruffleString doString(com.oracle.truffle.api.strings.TruffleString operand)
    • doInt

      protected com.oracle.truffle.api.strings.TruffleString doInt(int operand)
    • doDouble

      protected com.oracle.truffle.api.strings.TruffleString doDouble(double operand)
    • doBoolean

      protected com.oracle.truffle.api.strings.TruffleString doBoolean(boolean operand)
    • doBigInt

      protected com.oracle.truffle.api.strings.TruffleString doBigInt(BigInt operand)
    • doNull

      protected com.oracle.truffle.api.strings.TruffleString doNull(Object operand)
    • doUndefined

      protected com.oracle.truffle.api.strings.TruffleString doUndefined(Object operand)
    • doJSFunction

      protected com.oracle.truffle.api.strings.TruffleString doJSFunction(Object operand)
    • doJSObjectOnly

      protected com.oracle.truffle.api.strings.TruffleString doJSObjectOnly(Object operand)
    • doJSProxy

      protected com.oracle.truffle.api.strings.TruffleString doJSProxy(JSProxyObject operand, TypeOfNode typeofNode)
    • doSymbol

      protected com.oracle.truffle.api.strings.TruffleString doSymbol(Symbol operand)
    • doLong

      protected static com.oracle.truffle.api.strings.TruffleString doLong(long operand)
    • doTruffleObject

      protected com.oracle.truffle.api.strings.TruffleString doTruffleObject(Object operand, com.oracle.truffle.api.interop.InteropLibrary interop)
    • doJavaObject

      protected com.oracle.truffle.api.strings.TruffleString doJavaObject(Object operand)
    • copyUninitialized

      protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
      Overrides:
      copyUninitialized in class JavaScriptNode