Java Code Examples for com.oracle.truffle.api.instrumentation.StandardTags#StatementTag
The following examples show how to use
com.oracle.truffle.api.instrumentation.StandardTags#StatementTag .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HashemStatementNode.java From mr-hashemi with Universal Permissive License v1.0 | 5 votes |
public boolean hasTag(Class<? extends Tag> tag) { if (tag == StandardTags.StatementTag.class) { return hasStatementTag; } else if (tag == StandardTags.RootTag.class || tag == StandardTags.RootBodyTag.class) { return hasRootTag; } return false; }
Example 2
Source File: PushBytecodes.java From trufflesqueak with MIT License | 4 votes |
@Override public boolean hasTag(final Class<? extends Tag> tag) { return tag == StandardTags.StatementTag.class; }
Example 3
Source File: AbstractInstrumentableBytecodeNode.java From trufflesqueak with MIT License | 4 votes |
@Override public boolean hasTag(final Class<? extends Tag> tag) { return tag == StandardTags.StatementTag.class; }