public class RelativePathCollector extends OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
Constructor and Description |
---|
RelativePathCollector()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getResult() |
CustomSimpleNode |
visitNode(ASTBinaryOpExpr node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTExpression node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathActionPath node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathExtractionMarker node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathKleeneStarPath node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathNodeTestOp node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTRelativeOXPathLocationPath node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTSimpleOXPathStepPath node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathFunctionCall node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathLiteral node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathNumber node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPathExpr node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPredicate node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPrimaryExpr node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathUnaryExpr node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(CustomSimpleNode node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(SimpleNode node,
uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data)
Constructs the
String representation of the subtree rooted at node |
public static final String SLASH
public CustomSimpleNode visitNode(SimpleNode node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(CustomSimpleNode node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTExpression node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTSimpleOXPathStepPath node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTOXPathExtractionMarker node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathPredicate node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTRelativeOXPathLocationPath node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTOXPathKleeneStarPath node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTOXPathActionPath node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTOXPathNodeTestOp node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathLiteral node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTBinaryOpExpr node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public String getResult()
public CustomSimpleNode visitNode(ASTXPathUnaryExpr node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathPrimaryExpr node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathNumber node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathFunctionCall node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public CustomSimpleNode visitNode(ASTXPathPathExpr node, uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<uk.ac.ox.cs.diadem.oxpath.utils.RelativePathCollector.MyLocalContext,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
Copyright © 2020 OXPath Team. All rights reserved.