Package | Description |
---|---|
claw.tatsu.directive.generator | |
claw.tatsu.xcodeml.abstraction | |
claw.tatsu.xcodeml.xnode | |
claw.tatsu.xcodeml.xnode.common |
Modifier and Type | Method and Description |
---|---|
java.util.List<Xcode> |
OpenAcc.getSkippedStatementsInEpilogue() |
java.util.List<Xcode> |
DirectiveGenerator.getSkippedStatementsInEpilogue()
Get the list of skipped statements after directive region.
|
java.util.List<Xcode> |
OpenAcc.getSkippedStatementsInPreamble() |
java.util.List<Xcode> |
DirectiveGenerator.getSkippedStatementsInPreamble()
Get the list of skipped statements before directive region.
|
java.util.List<Xcode> |
OpenAcc.getUnsupportedStatements() |
java.util.List<Xcode> |
DirectiveGenerator.getUnsupportedStatements()
Get the list of unsupported statements in an directive region.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AssignStatement.isChildOf(Xcode opcode)
Check if the current assignment statement is a child of a give type of
node.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Xnode> |
XnodeUtil.getNodes(Xnode root,
java.util.List<Xcode> nodeOpcodes)
Get given statements in the subtree.
|
static java.util.List<Xnode> |
XnodeUtil.getNodes(Xnode from,
Xnode to,
java.util.List<Xcode> nodeOpcodes)
Get given statements in between from and to included.
|
Modifier and Type | Method and Description |
---|---|
static Xcode |
Xcode.fromString(java.lang.String value) |
Xcode |
Xnode.opcode()
Get the element opcode.
|
static Xcode |
Xcode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Xcode[] |
Xcode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Xnode |
XcodeML.createNode(Xcode opcode)
Create a new node in the current translation unit.
|
java.util.List<Xnode> |
Xnode.matchAll(Xcode opcode)
Match all nodes with the given opcode in the subtree.
|
java.util.List<Xnode> |
Xnode.matchAllAncestor(Xcode opcode)
Find nodes with the given opcode in the ancestors of the current node.
|
java.util.List<Xnode> |
Xnode.matchAllAncestor(Xcode opcode,
Xcode stopCode)
Find nodes with the given opcode in the ancestors of the current node.
|
Xnode |
Xnode.matchAncestor(Xcode opcode)
Find node with the given opcode in the ancestors of the current node.
|
Xnode |
Xnode.matchDescendant(Xcode opcode)
Find node with the given opcode in the descendants of the current node.
|
Xnode |
Xnode.matchDirectDescendant(Xcode opcode)
Find node with the given opcode in the direct descendants the current node.
|
Xnode |
Xnode.matchSeq(Xcode... opcodes)
Find node with the given path of opcodes from the current node.
|
Xnode |
Xnode.matchSibling(Xcode opcode)
Find node with the given opcode in the siblings of the given node.
|
java.util.List<Xnode> |
XdeclTable.values(Xcode decl)
Get all declarations of a specific kind of elements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Xnode.isDirectSibling(Xnode end,
java.util.List<Xcode> skippedNodes)
Check whether the end node is a direct sibling of this node.
|
Xnode |
Xnode.matchDirectDescendant(java.util.List<Xcode> opcodes)
Find node with one of the given opcodes in the direct descendants
the current node.
|
java.util.List<Xnode> |
XdeclTable.values(java.util.List<Xcode> declarations)
Get all declarations of a specific kind of elements.
|