Class JSTags.LiteralTag

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

public static final class JSTags.LiteralTag extends com.oracle.truffle.api.instrumentation.Tag
Literals. Marks all code locations corresponding to literal expressions.

Literal expressions have no intermediate values. Tagged nodes provide the following metadata:

  • type A String describing the type of literal expression tagged by the node. Possible values are:
    • ObjectLiteral Object literals
    • ArrayLiteral Array literals
    • FunctionLiteral Function literals
    • NumericLiteral Numeric literals
    • BooleanLiteral true or false
    • StringLiteral String literals
    • NullLiteral null
    • UndnefinedLiteral undefined
    • RegExpLiteral Regular expression literals

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

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

    findProvidedTag, getIdentifier

    Methods inherited from class java.lang.Object

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