protected class SimpleInterpreter.Visitor extends TPath.Visitor
| Modifier and Type | Field and Description |
|---|---|
protected Context<N> |
context |
protected PrincipalNodeType |
principalNodeType |
protected Value<N> |
result |
protected Predicate<N> |
test |
hasdescend, haspost, haspre_visitor_debug_stream, partial| Modifier | Constructor and Description |
|---|---|
protected |
Visitor(Context<N> context) |
| Modifier and Type | Method and Description |
|---|---|
protected NodeSet<N> |
ancestorAxis(N node) |
protected NodeSet<N> |
ancestorAxis(N node,
boolean self) |
protected NodeSet<N> |
ancestorOrSelfAxis(N node) |
protected NodeSet<N> |
attributeAxis(N node) |
protected void |
axis(TPath.AxisSpecifier x) |
protected NodeSet<N> |
childAxis(N node) |
protected NodeSet<N> |
childAxis(N node,
boolean reverse) |
protected boolean |
commentTest(N node) |
protected void |
descend(TPath.And x) |
protected void |
descend(TPath.Comment x) |
protected void |
descend(TPath.Div x) |
protected void |
descend(TPath.Eq x) |
protected void |
descend(TPath.Filter x) |
protected void |
descend(TPath.FunctionCall x) |
protected void |
descend(TPath.Geq x) |
protected void |
descend(TPath.Gt x) |
protected void |
descend(TPath.Leq x) |
protected void |
descend(TPath.Literal x) |
protected void |
descend(TPath.Lt x) |
protected void |
descend(TPath.Minus x) |
protected void |
descend(TPath.Mod x) |
protected void |
descend(TPath.Mult x) |
protected void |
descend(TPath.NameTest x) |
protected void |
descend(TPath.Neg x) |
protected void |
descend(TPath.Neq x) |
protected void |
descend(TPath.Node x) |
protected void |
descend(TPath.Number x) |
protected void |
descend(TPath.Or x) |
protected void |
descend(TPath.Paren x) |
protected void |
descend(TPath.Plus x) |
protected void |
descend(TPath.ProcessingInstruction x) |
protected void |
descend(TPath.Root x) |
protected void |
descend(TPath.Step x) |
protected void |
descend(TPath.Text x) |
protected void |
descend(TPath.Union x) |
protected void |
descend(TPath.VariableReference x) |
protected NodeSet<N> |
descendantAxis(N node) |
protected NodeSet<N> |
descendantAxis(N node,
boolean self) |
protected NodeSet<N> |
descendantAxis(N node,
boolean self,
boolean reverse) |
protected NodeSet<N> |
descendantOrSelfAxis(N node) |
protected Comparator<? super N> |
documentOrder(boolean reverse) |
protected void |
filter(TPath.Expr pred,
boolean unreverse) |
protected NodeSet<N> |
flatten(Iterable<NodeSet<N>> sets,
boolean reverse) |
protected NodeSet<N> |
followingAxis(N node) |
protected NodeSet<N> |
followingSiblingAxis(N node) |
protected Function<N,NodeSet<N>> |
lift(Function<N,N> fun,
boolean reverse) |
protected NodeSet<N> |
merge(Iterable<NodeSet<N>> sets,
boolean reverse) |
protected NodeSet<N> |
namespaceAxis(N node) |
protected boolean |
nameTest(N node,
PrincipalNodeType pnt,
String prefix,
String suffix) |
protected boolean |
nodeTest(N node) |
protected void |
op(TPath.BinaryExpr x,
BiFunction<Value<N>,Value<N>,Value<N>> op) |
protected void |
op(TPath.UnaryExpr x,
Function<Value<N>,Value<N>> op) |
protected NodeSet<N> |
parentAxis(N node) |
protected NodeSet<N> |
precedingAxis(N node) |
protected NodeSet<N> |
precedingSiblingAxis(N node) |
protected boolean |
processingInstructionTest(N node,
String target) |
protected NodeSet<N> |
selfAxis(N node) |
protected void |
test(TPath.Test x) |
protected boolean |
textTest(N node) |
protected NodeSet<N> |
unfold(N node,
Function<N,NodeSet<N>> next,
boolean preorder,
boolean postorder,
boolean omitRoot,
boolean reverse) |
protected BiFunction<Value<N>,Value<N>,Value<N>> |
union() |
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, descend, descend, descend, descend, descend, descend, descend, descend, descend, descend, descend, descend, descend, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, post, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, pre, preaction, action, foreignObject, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatchprotected PrincipalNodeType principalNodeType
protected void descend(TPath.VariableReference x)
descend in class TPath.Visitorprotected void descend(TPath.FunctionCall x)
descend in class TPath.Visitorprotected void descend(TPath.Literal x)
descend in class TPath.Visitorprotected void descend(TPath.Number x)
descend in class TPath.Visitorprotected void descend(TPath.Root x)
descend in class TPath.Visitorprotected void descend(TPath.Step x)
descend in class TPath.Visitorprotected void op(TPath.BinaryExpr x, BiFunction<Value<N>,Value<N>,Value<N>> op)
protected void descend(TPath.Or x)
descend in class TPath.Visitorprotected void descend(TPath.And x)
descend in class TPath.Visitorprotected void descend(TPath.Eq x)
descend in class TPath.Visitorprotected void descend(TPath.Neq x)
descend in class TPath.Visitorprotected void descend(TPath.Lt x)
descend in class TPath.Visitorprotected void descend(TPath.Leq x)
descend in class TPath.Visitorprotected void descend(TPath.Gt x)
descend in class TPath.Visitorprotected void descend(TPath.Geq x)
descend in class TPath.Visitorprotected void descend(TPath.Mult x)
descend in class TPath.Visitorprotected void descend(TPath.Div x)
descend in class TPath.Visitorprotected void descend(TPath.Mod x)
descend in class TPath.Visitorprotected void descend(TPath.Plus x)
descend in class TPath.Visitorprotected void descend(TPath.Minus x)
descend in class TPath.Visitorprotected void descend(TPath.Neg x)
descend in class TPath.Visitorprotected void descend(TPath.Paren x)
descend in class TPath.Visitorprotected void descend(TPath.Union x)
descend in class TPath.Visitorprotected void descend(TPath.Filter x)
descend in class TPath.Visitorprotected void filter(TPath.Expr pred, boolean unreverse)
protected void axis(TPath.AxisSpecifier x)
protected void test(TPath.Test x)
protected void descend(TPath.NameTest x)
descend in class TPath.Visitorprotected void descend(TPath.Comment x)
descend in class TPath.Visitorprotected void descend(TPath.Text x)
descend in class TPath.Visitorprotected void descend(TPath.ProcessingInstruction x)
descend in class TPath.Visitorprotected void descend(TPath.Node x)
descend in class TPath.Visitorprotected NodeSet<N> unfold(N node, Function<N,NodeSet<N>> next, boolean preorder, boolean postorder, boolean omitRoot, boolean reverse)
protected boolean nameTest(N node, PrincipalNodeType pnt, String prefix, String suffix)
protected boolean commentTest(N node)
protected boolean textTest(N node)
protected boolean nodeTest(N node)
protected Comparator<? super N> documentOrder(boolean reverse)
see also the complete user documentation .