Class JSTags.ControlFlowBranchTag
java.lang.Object
com.oracle.truffle.api.instrumentation.Tag
com.oracle.truffle.js.nodes.instrumentation.JSTags.ControlFlowBranchTag
- Enclosing class:
JSTags
public static final class JSTags.ControlFlowBranchTag
extends com.oracle.truffle.api.instrumentation.Tag
Control flow branch node.
Marks all code locations where a statement or expression that might change the control flow
of an application is declared.
Examples are:
- Condition of
ifstatements. - Repeating conditions for iteration statements such as
while,for, etc. - The
caseexpressions inswitchstatements. - The
continuestatement. - The
breakstatement. - The
throwstatement.
- type A
Stringdescribing the control flow construct type. Possible values are:- Condition The control condition of a conditional branch statement (e.g.,
iforswitchstatements. - Continue The
continuestatement. - Break The
breakstatement. - Throw The
throwstatement. - Return The
returnstatement.
- Condition The control condition of a conditional branch statement (e.g.,
-
Nested Class Summary
Nested ClassesNested 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