Modifier and Type | Method and Description |
---|---|
OXPathType |
PAATEval_.eval_(DOMNode context,
Node astNode,
PAATStateEvalIterative state)
Need to call this method to check children so that memoization is applied
|
OXPathType |
OXPath.evaluateWithBrowserBuilder(Node node,
WebBrowserBuilder builder,
IAbstractOutputHandler oh) |
Modifier and Type | Method and Description |
---|---|
PAATState.Builder |
PAATState.Builder.setActionFreePrefixEnd(Node n)
Sets the end of the action free prefix of current context
|
Constructor and Description |
---|
Builder(IOXPathNodeList iContext,
Node iAFP,
Node iAFPE,
boolean iIsAFP,
int iPosition,
int iLast,
boolean iProtect,
int numHigher,
int currAction)
Signature for building verbose new PAATState object (we don't make defensive copies of the context set for
performance reasons, so be aware)
|
Builder(OXPathContextNode iContext,
Node iAFP,
Node iAFPE,
boolean iIsAFP,
int iPosition,
int iLast,
boolean iProtect)
Signature for building verbose new PAATState object
|
Modifier and Type | Method and Description |
---|---|
void |
MyLocationPath.addPredicate(Node predicate) |
Modifier and Type | Method and Description |
---|---|
Node |
OXPathParser.Expression() |
static Node |
OXPathParser.getChildByName(Node parent,
String name) |
static Node |
OXPathParser.getJJTree(String inputfile)
Returns JJTree of script
|
static Node |
OXPathParser.getJJTreeFromReader(Reader in) |
static Node |
OXPathParser.getJJTreeFromString(String in) |
static Node |
OXPathParser.safeGetChild(Node parent,
int index) |
Modifier and Type | Method and Description |
---|---|
static Node |
OXPathParser.getChildByName(Node parent,
String name) |
static boolean |
OXPathParser.hasActionOnMainPath(Node node) |
static boolean |
OXPathParser.hasChildByName(Node parent,
String name) |
static boolean |
OXPathParser.hasDescendantOrSelfByName(Node parent,
String name) |
static boolean |
OXPathParser.isDescendant(Node a,
Node d) |
static boolean |
OXPathParser.isSafeChild(Node parent,
int index) |
static Node |
OXPathParser.safeGetChild(Node parent,
int index) |
Modifier and Type | Class and Description |
---|---|
class |
ASTBinaryOpExpr |
class |
ASTExpression |
class |
ASTOXPathActionPath |
class |
ASTOXPathExtractionMarker |
class |
ASTOXPathKleeneStarPath |
class |
ASTOXPathNodeTestOp |
class |
ASTRelativeOXPathLocationPath |
class |
ASTSimpleOXPathStepPath |
class |
ASTXPathFunctionCall |
class |
ASTXPathLiteral |
class |
ASTXPathNumber |
class |
ASTXPathPathExpr |
class |
ASTXPathPredicate |
class |
ASTXPathPrimaryExpr |
class |
ASTXPathUnaryExpr |
class |
SimpleNode |
Modifier and Type | Field and Description |
---|---|
protected Node[] |
SimpleNode.children |
protected Node |
SimpleNode.parent |
Modifier and Type | Method and Description |
---|---|
Node |
Node.jjtGetChild(int i)
This method returns a child node.
|
Node |
SimpleNode.jjtGetChild(int i) |
Node |
Node.jjtGetParent() |
Node |
SimpleNode.jjtGetParent() |
Node |
JJTOXPathParserState.peekNode() |
Node |
JJTOXPathParserState.popNode() |
Node |
JJTOXPathParserState.rootNode() |
Modifier and Type | Method and Description |
---|---|
void |
JJTOXPathParserState.clearNodeScope(Node n) |
void |
JJTOXPathParserState.closeNodeScope(Node n,
boolean condition) |
void |
JJTOXPathParserState.closeNodeScope(Node n,
int num) |
void |
Node.jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
|
void |
SimpleNode.jjtAddChild(Node n,
int i) |
void |
Node.jjtSetParent(Node n)
This pair of methods are used to inform the node of its
parent.
|
void |
SimpleNode.jjtSetParent(Node n) |
void |
JJTOXPathParserState.openNodeScope(Node n) |
void |
JJTOXPathParserState.pushNode(Node n) |
Modifier and Type | Class and Description |
---|---|
class |
ASTBinaryOpExprCustom |
class |
ASTOXPathActionPathCustom |
class |
ASTOXPathExtractionMarkerCustom |
class |
ASTOXPathKleeneStarPathCustom |
class |
ASTOXPathNodeTestOpCustom |
class |
ASTRelativeOXPathLocationPathCustom |
class |
ASTSimpleOXPathStepPathCustom |
class |
ASTXPathFunctionCallCustom |
class |
ASTXPathLiteralCustom |
class |
ASTXPathNumberCustom |
class |
ASTXPathPathExprCustom |
class |
ASTXPathPredicateCustom |
class |
ASTXPathUnaryExprCustom |
class |
CustomSimpleNode
This base implementation for AST nodes contains all additional code that cannot be put into SimpleNode because
auto-generated.
|
Modifier and Type | Field and Description |
---|---|
protected Node[] |
CustomSimpleNode.children |
protected Node |
CustomSimpleNode.parent |
Modifier and Type | Method and Description |
---|---|
Node |
ASTOXPathKleeneStarPathCustom.insideKleeneStar()
Returns the outermost Kleene star node (for closing actions) Check for
null values when using this or call
node.isInsideKleeneStar() |
Node |
ASTOXPathActionPathCustom.insideKleeneStar()
Returns the outermost Kleene star node (for closing actions) Check for
null values when using this or call
node.isInsideKleeneStar() |
Modifier and Type | Method and Description |
---|---|
void |
CustomSimpleNode.mergeWith(Node to) |
void |
CustomSimpleNode.removeChild(Node toRemove) |
void |
ASTOXPathKleeneStarPathCustom.setInsideKleeneStar(Node kleene) |
void |
ASTOXPathActionPathCustom.setInsideKleeneStar(Node kleene) |
Modifier and Type | Method and Description |
---|---|
U |
OXPathVisitorGenericAdaptor.accept(Node node,
T data) |
Copyright © 2020 OXPath Team. All rights reserved.