Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class XPathExpr



public class XPathExpr
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.Expr
Path 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.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public voidadd_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.StepExprexpr()
    
public org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExprnext()
    
public voidset_next(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr n)
     an XPath expression, n is copied to _next
public voidset_slashes(int count)
    
public intslashes()
    

Constructor Detail

XPathExpr

public XPathExpr(int slashes , org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr)


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


add_tail

public void add_tail(int slashes , org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr)

Add to tail of path

Parameters

slashes

expr


expr

public org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr expr()

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr - Step expression _expr


next

public org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr next()

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr - XPath expression _next


set_next

public void set_next(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr n)

an XPath expression, n is copied to _next

Parameters

n


set_slashes

public void set_slashes(int count)

Parameters

count - is copied to _slashes


slashes

public int slashes()

Returns

int - int _slashes