Package org.javarosa.xpath.parser.ast
Class ASTNodeAbstractExpr
java.lang.Object
org.javarosa.xpath.parser.ast.ASTNode
org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr
public class ASTNodeAbstractExpr extends ASTNode
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classASTNodeAbstractExpr.Partition -
Field Summary
-
Constructor Summary
Constructors Constructor Description ASTNodeAbstractExpr() -
Method Summary
Modifier and Type Method Description XPathExpressionbuild()voidcondense(ASTNode node, int start, int end)ASTNodeAbstractExprextract(int start, int end)Vector<ASTNode>getChildren()TokengetToken(int i)intgetTokenType(int i)intgetType(int i)intindexOfBalanced(int start, int target, int leftPush, int rightPop)booleanisNormalized()booleanisTerminal()ASTNodeAbstractExpr.Partitionpartition(int[] separators, int start, int end)ASTNodeAbstractExpr.PartitionpartitionBalanced(int sep, int start, int leftPush, int rightPop)
-
Field Details
-
CHILD
public static final int CHILD- See Also:
- Constant Field Values
-
TOKEN
public static final int TOKEN- See Also:
- Constant Field Values
-
content
-
-
Constructor Details
-
ASTNodeAbstractExpr
public ASTNodeAbstractExpr()
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin classASTNode
-
build
- Specified by:
buildin classASTNode- Throws:
XPathSyntaxException
-
isTerminal
public boolean isTerminal() -
isNormalized
public boolean isNormalized() -
getType
public int getType(int i) -
getToken
-
getTokenType
public int getTokenType(int i) -
extract
-
condense
-
indexOfBalanced
public int indexOfBalanced(int start, int target, int leftPush, int rightPop) -
partition
-
partitionBalanced
public ASTNodeAbstractExpr.Partition partitionBalanced(int sep, int start, int leftPush, int rightPop)
-