kodexa.selectors.lexrules

XPath lexing rules.

To understand how this module works, it is valuable to have a strong understanding of the ply <http://www.dabeaz.com/ply/> module.

Module Contents

Functions

t_LITERAL(t)

"[^"]*"|'[^']*'

t_FLOAT(t)

d+.d*|.d+

t_INTEGER(t)

d+

t_error(t)

Attributes

operator_names

tokens

t_PATH_SEP

t_ABBREV_PATH_SEP

t_ABBREV_STEP_SELF

t_ABBREV_STEP_PARENT

t_AXIS_SEP

t_ABBREV_AXIS_AT

t_OPEN_PAREN

t_CLOSE_PAREN

t_OPEN_BRACKET

t_CLOSE_BRACKET

t_UNION_OP

t_EQUAL_OP

t_REL_OP

t_PLUS_OP

t_MINUS_OP

t_COMMA

t_COLON

t_DOLLAR

t_STAR_OP

t_ignore

NameStartChar

Full_NameStartChar

NameChar_extras

NameStartChar

NCNAME_REGEX

NODE_TYPES

t_NCNAME

kodexa.selectors.lexrules.operator_names
kodexa.selectors.lexrules.tokens
kodexa.selectors.lexrules.t_PATH_SEP = /
kodexa.selectors.lexrules.t_ABBREV_PATH_SEP = //
kodexa.selectors.lexrules.t_ABBREV_STEP_SELF = \.
kodexa.selectors.lexrules.t_ABBREV_STEP_PARENT = \.\.
kodexa.selectors.lexrules.t_AXIS_SEP = ::
kodexa.selectors.lexrules.t_ABBREV_AXIS_AT = @
kodexa.selectors.lexrules.t_OPEN_PAREN = \(
kodexa.selectors.lexrules.t_CLOSE_PAREN = \)
kodexa.selectors.lexrules.t_OPEN_BRACKET = \[
kodexa.selectors.lexrules.t_CLOSE_BRACKET = \]
kodexa.selectors.lexrules.t_UNION_OP = \|
kodexa.selectors.lexrules.t_EQUAL_OP = !?=
kodexa.selectors.lexrules.t_REL_OP = [<>]=?
kodexa.selectors.lexrules.t_PLUS_OP = \+
kodexa.selectors.lexrules.t_MINUS_OP = -
kodexa.selectors.lexrules.t_COMMA = ,
kodexa.selectors.lexrules.t_COLON = :
kodexa.selectors.lexrules.t_DOLLAR = \$
kodexa.selectors.lexrules.t_STAR_OP = \*
kodexa.selectors.lexrules.t_ignore =
kodexa.selectors.lexrules.NameStartChar
kodexa.selectors.lexrules.Full_NameStartChar
kodexa.selectors.lexrules.NameChar_extras = [-.0-9\xb7\u0300-\u036f\u203f-\u2040]
kodexa.selectors.lexrules.NameStartChar
kodexa.selectors.lexrules.NCNAME_REGEX
kodexa.selectors.lexrules.NODE_TYPES
kodexa.selectors.lexrules.t_NCNAME
kodexa.selectors.lexrules.t_LITERAL(t)

“[^”]*”|’[^’]*’

kodexa.selectors.lexrules.t_FLOAT(t)

d+.d*|.d+

kodexa.selectors.lexrules.t_INTEGER(t)

d+

kodexa.selectors.lexrules.t_error(t)