insert into
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | HasVariantValueNodeVisitor(int
the type of variance we consider
variant variantType, boolean should I ignore parameter nodes? ignoreParameters)Construct a visitor. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public boolean | skipChildren(Visitable
the node to process node)Implements org. Method that is called to indicate whether we should skip all nodes below this node for traversal. |
| public boolean | Returns: true/falseImplements org. Stop traversal if we found the target node |
| public Visitable | Returns: methe node to process node)Implements org. If we have found the target node, we are done. |
| public boolean | visitChildrenFirst(Visitable
the top node of a sub-tree about to be visited node)Implements org. Method that is called to see if |
| hasVariant | back to summary |
|---|---|
| private boolean hasVariant | |
| ignoreParameters | back to summary |
|---|---|
| private boolean ignoreParameters | |
| variantType | back to summary |
|---|---|
| private int variantType | |
| HasVariantValueNodeVisitor | back to summary |
|---|---|
| pack-priv HasVariantValueNodeVisitor() Construct a visitor | |
| HasVariantValueNodeVisitor | back to summary |
|---|---|
| pack-priv HasVariantValueNodeVisitor(int variantType, boolean ignoreParameters) Construct a visitor. Pass in the variant type. We look for nodes that are less than or equal to this variant type. E.g., if the variantType is Qualifier.SCAN_VARIANT, then any node that is either VARIANT or SCAN_VARIANT will cause the visitor to consider it variant.
| |
| hasVariant | back to summary |
|---|---|
| pack-priv boolean hasVariant() Indicate whether we found the node in question
| |
| skipChildren | back to summary |
|---|---|
| public boolean skipChildren(Visitable node) Implements org. Doc from org. Method that is called to indicate whether we should skip all nodes below this node for traversal. Useful if we want to effectively ignore/prune all branches under a particular node. Differs from stopTraversal() in that it only affects subtrees, rather than the entire traversal.
| |
| stopTraversal | back to summary |
|---|---|
| public boolean stopTraversal() Implements org. Stop traversal if we found the target node
| |
| visit | back to summary |
|---|---|
| public Visitable visit(Visitable node) throws StandardException Implements org. If we have found the target node, we are done.
| |
| visitChildrenFirst | back to summary |
|---|---|
| public boolean visitChildrenFirst(Visitable node) Implements org. Doc from org. Method that is called to see if
| |