Package org.eclipse.wst.xml.xpath2.processor.internal.ast
public class XPathExpr extends org.eclipse.wst.xml.xpath2.processor.internal.ast.ExprPath expression walks tries to walk the path specified in its argument
Constructor Summary |
XPathExpr(int slashes
,
org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr) |
Method Summary | |
public java.lang.Object | accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v) Support for Visitor interface. |
public void | add_tail(int slashes
,
org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr) Add to tail of path |
public org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr | expr() |
public org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr | next() |
public void | set_next(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr n) an XPath expression, n is copied to _next |
public void | set_slashes(int count) |
public int | slashes() |
Constructor Detail |
public XPathExpr(int slashes
,
org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr)
Methods Detail |
public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
Support for Visitor interface.
v
java.lang.Object
- Result of Visitor operation.
public void add_tail(int slashes
,
org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr)
Add to tail of path
slashes
expr
public org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr()
org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr
- Step expression _expr
public org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr next()
org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr
- XPath expression _next
public void set_next(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr n)
an XPath expression, n is copied to _next
n
public void set_slashes(int count)
count
- is copied to _slashes
public int slashes()
int
- int _slashes