public abstract class NodePos extends Object implements com.ibm.wala.cast.tree.rewrite.CAstRewriter.RewriteContext<com.ibm.wala.cast.tree.rewrite.CAstBasicRewriter.NoKey>
| Constructor and Description |
|---|
NodePos() |
| Modifier and Type | Method and Description |
|---|---|
abstract <A> A |
accept(PosSwitch<A> ps) |
static boolean |
inSubtree(com.ibm.wala.cast.tree.CAstNode node,
com.ibm.wala.cast.tree.CAstNode tree)
Determines whether a node is inside the subtree rooted at some other node.
|
com.ibm.wala.cast.tree.rewrite.CAstBasicRewriter.NoKey |
key() |
public abstract <A> A accept(PosSwitch<A> ps)
public com.ibm.wala.cast.tree.rewrite.CAstBasicRewriter.NoKey key()
key in interface com.ibm.wala.cast.tree.rewrite.CAstRewriter.RewriteContext<com.ibm.wala.cast.tree.rewrite.CAstBasicRewriter.NoKey>public static boolean inSubtree(com.ibm.wala.cast.tree.CAstNode node,
com.ibm.wala.cast.tree.CAstNode tree)
node - the nodetree - the subtreenode is a descendant of tree, false otherwiseCopyright © 2017. All rights reserved.