Class xrx.xpath.Parser
Defined in: parser.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.xpath.Parser(lexer, nsResolver)
The recursive descent parser.
|
Method Attributes | Method Name and Description |
---|---|
Apply recursive descent parsing on the input to construct an
abstract syntax tree.
|
Class Detail
xrx.xpath.Parser(lexer, nsResolver)
The recursive descent parser.
- Parameters:
- {!xrx.xpath.Lexer} lexer
- The lexer.
- {function(string): ?string} nsResolver
- Namespace resolver.
Method Detail
{!xrx.xpath.Expr}
parseExpr()
Apply recursive descent parsing on the input to construct an
abstract syntax tree.
- Returns:
- {!xrx.xpath.Expr} The root of the constructed tree.