Configuration options for the XPath lexer.
Optional
XPath specification version to use for tokenization.
Default: '1.0'
// XPath 1.0 lexer (treats 'if', 'then', 'else' as identifiers)const lexer10 = new XPathLexer({ version: '1.0' });// XPath 2.0 lexer (treats 'if', 'then', 'else' as reserved words)const lexer20 = new XPathLexer({ version: '2.0' }); Copy
// XPath 1.0 lexer (treats 'if', 'then', 'else' as identifiers)const lexer10 = new XPathLexer({ version: '1.0' });// XPath 2.0 lexer (treats 'if', 'then', 'else' as reserved words)const lexer20 = new XPathLexer({ version: '2.0' });
Configuration options for the XPath lexer.