Class JSTags.UnaryOperationTag

java.lang.Object
com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.js.nodes.instrumentation.JSTags.UnaryOperationTag
Enclosing class:
JSTags

public static final class JSTags.UnaryOperationTag extends com.oracle.truffle.api.instrumentation.Tag
Unary expressions. Marks all code locations that perform unary operations, e.g., !true.

All unary expressions except delete have one input Intermediate value:

  • #0 Operand The operand for the unary operation.
The delete expression provides two intermediate values:
  • #0 Target The target object instance.
  • #1 Key The property key to be deleted.
Tagged nodes provide the following metadata:
  • operator A String representation of the operator. Examples are: !, ~, delete etc.

  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.truffle.api.instrumentation.Tag

    com.oracle.truffle.api.instrumentation.Tag.Identifier
  • Method Summary

    Methods inherited from class com.oracle.truffle.api.instrumentation.Tag

    findProvidedTag, getIdentifier

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait