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
Stringdescribing 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
trueorfalse - StringLiteral String literals
- NullLiteral
null - UndnefinedLiteral
undefined - RegExpLiteral Regular expression literals
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.api.instrumentation.Tag.Identifier -
Field Summary
Fields -
Method Summary
Methods inherited from class com.oracle.truffle.api.instrumentation.Tag
findProvidedTag, getIdentifier
-
Field Details
-
TYPE
- See Also:
-