Ft.Xml.XPath.XPathParser

Modules

ParsedAbbreviatedAbsoluteLocationPath  ParsedAxisSpecifier  ParsedPredicateList  re 
ParsedAbbreviatedRelativeLocationPath  ParsedExpr  ParsedRelativeLocationPath   
ParsedAbsoluteLocationPath  ParsedNodeTest  ParsedStep   

Classes

class Parser
__init__(self, verbose=0)
announce(self, format, *args)
debug_mode(self, flag=None)
error(self, format, *args)
parse(self, text)
print_reduce(self, rule)
print_state_stack(self, stack, size)
report_error(self, state, line, column, lval)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.XPath.XPathParser'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class new
__init__(self, verbose=0)
announce(self, format, *args)
debug_mode(self, flag=None)
error(self, format, *args)
parse(self, text)
print_reduce(self, rule)
print_state_stack(self, stack, size)
report_error(self, state, line, column, lval)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.XPath.XPathParser'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

YYTRANSLATE = lambda(x)
abbreviatedAbsoluteLocationPath1(self, __stack, __ptr)
abbreviatedAxisSpecifier1(self, __stack, __ptr)
abbreviatedAxisSpecifier2(self, __stack, __ptr)
abbreviatedRelativeLocationPath1(self, __stack, __ptr)
abbreviatedStep1(self, __stack, __ptr)
abbreviatedStep2(self, __stack, __ptr)
absoluteLocationPath1(self, __stack, __ptr)
absoluteLocationPath2(self, __stack, __ptr)
additiveExpr2(self, __stack, __ptr)
additiveExpr3(self, __stack, __ptr)
andExpr2(self, __stack, __ptr)
argumentList1(self, __stack, __ptr)
argumentList2(self, __stack, __ptr)
axisSpecifier1(self, __stack, __ptr)
equalityExpr2(self, __stack, __ptr)
filterExpr2(self, __stack, __ptr)
functionCall1(self, __stack, __ptr)
functionCall2(self, __stack, __ptr)
multiplicativeExpr2(self, __stack, __ptr)
nodeTest1(self, __stack, __ptr)
nodeTest2(self, __stack, __ptr)
nodeTest3(self, __stack, __ptr)
orExpr2(self, __stack, __ptr)
pathExpr3(self, __stack, __ptr)
pathExpr4(self, __stack, __ptr)
predicate1(self, __stack, __ptr)
predicateList1(self, __stack, __ptr)
predicateList2(self, __stack, __ptr)
primaryExpr1(self, __stack, __ptr)
primaryExpr2(self, __stack, __ptr)
primaryExpr3(self, __stack, __ptr)
primaryExpr4(self, __stack, __ptr)
relationalExpr2(self, __stack, __ptr)
relativeLocationPath2(self, __stack, __ptr)
step1(self, __stack, __ptr)
step2(self, __stack, __ptr)
unaryExpr2(self, __stack, __ptr)
unionExpr2(self, __stack, __ptr)

Data

ANCESTOR = 283
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ANCESTOR_OR_SELF = 284
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
AND = 276
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
AT = 259
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ATTRIBUTE = 285
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
AXIS_NAME = 297
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CHILD = 286
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMA = 262
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMENT = 279
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DESCENDANT = 287
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DESCENDANT_OR_SELF = 288
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DIV = 277
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOUBLE_COLON = 258
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOUBLE_DOT = 257
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOUBLE_SLASH = 269
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
EQUALITY_OP = 299
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FOLLOWING = 289
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FOLLOWING_SIBLING = 290
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FUNCTION_NAME = 268
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GREATER_THAN = 272
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GREATER_THAN_EQUAL = 274
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INITIAL = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LEFT_PAREN = 260
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LEFT_SQUARE = 261
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LESS_THAN = 271
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LESS_THAN_EQUAL = 273
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LEXER_FUNCTIONS = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LITERAL = 263
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MOD = 278
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MULTIPLY_OPERATOR = 267
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NAMESPACE = 291
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NLITERAL = 264
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NODE = 282
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NODE_TYPE = 296
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOT_EQUAL = 270
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OPERATOR = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OR = 275
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PARENT = 292
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PRECEDING = 293
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PRECEDING_SIBLING = 294
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PROCESSING_INSTRUCTION = 281
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIONAL_OP = 298
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SELF = 295
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TEXT = 280
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VARIABLE_REFERENCE = 265
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
WILDCARD_NAME = 266
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYEMPTY = -2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYEOF = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYFINAL = 89
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYFLAG = -32768
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYINITDEPTH = 1000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYLAST = 145
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
YYNTBASE = 57
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/XPath/XPathParser.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Xml.XPath.XPathParser'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
action_idx = [-3, -32768, -32768, -32768, -32768, -42, 13, 31, 43, -3, -32768, -32768, 66, -32768, -32768, -14, -32768, -8, -32768, -32768, ...]
action_routines = [None, None, None, <function absoluteLocationPath1>, <function absoluteLocationPath2>, None, None, <function relativeLocationPath2>, None, <function step1>, <function step2>, None, <function predicateList1>, <function predicateList2>, <function axisSpecifier1>, None, <function nodeTest1>, <function nodeTest2>, <function nodeTest3>, <function predicate1>, ...]
default_action = [26, 24, 30, 31, 28, 0, 26, 0, 3, 26, 23, 25, 26, 40, 2, 1, 6, 0, 5, 8, ...]
default_goto = [13, 14, 15, 16, 46, 17, 44, 47, 67, 18, 19, 20, 21, 59, 22, 23, 60, 61, 24, 25, ...]
derives = [0, 57, 57, 58, 58, 58, 59, 59, 59, 60, 60, 60, 61, 61, 62, 62, 63, 63, 63, 64, ...]
goto_idx = [-32768, -32768, 39, -12, 61, -32768, -32768, -43, -32768, -32768, -32768, -32768, -32768, 15, -32768, -32768, -32768, 25, 98, 63, ...]
pattern_actions = {'p00': (1, 275), 'p01': (1, 276), 'p02': (1, 267), 'p03': None, 'p04': (1,), 'p05': (2, None), 'p06': (1, 258), 'p07': (1, 269), 'p08': (1, 299), 'p09': (1, 298), ...}
patterns = {1: <_sre.SRE_Pattern object>, 2: <_sre.SRE_Pattern object>}
rhs_size = [0, 1, 1, 1, 2, 1, 1, 3, 1, 2, 3, 1, 1, 2, 2, 1, 1, 3, 4, 3, ...]
rhs_tokens = [None, [59], [58], [46], [46, 59], [66], [60], [59, 46, 60], [67], [62, 63], [62, 63, 61], [68], [64], [61, 64], [43, 4], [69], [12], [42, 47, 48], [42, 47, 9, 48], [49, 65, 50], ...]
rule_info = [': line 0', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 5', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 8', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 15', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 24', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 34', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 41', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 44', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 55', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 62', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 72', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 83', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 90', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 104', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 121', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 131', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 149', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 158', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 169', 'Ft/Xml/XPath/XPathBase.bgen.frag: line 185', ...]
token_names = ['<EOF>', 'error', '$undefined.', 'DOUBLE_DOT', 'DOUBLE_COLON', 'AT', 'LEFT_PAREN', 'LEFT_SQUARE', 'COMMA', 'LITERAL', 'NLITERAL', 'VARIABLE_REFERENCE', 'WILDCARD_NAME', 'MULTIPLY_OPERATOR', 'FUNCTION_NAME', 'DOUBLE_SLASH', 'NOT_EQUAL', 'LESS_THAN', 'GREATER_THAN', 'LESS_THAN_EQUAL', ...]
token_translations = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ...]
yycheck = [3, 15, 15, 46, 12, 47, 9, 10, 11, 55, 56, 14, 15, 48, 3, 0, 3, 49, 53, 21, ...]
yytable = [1, 40, 49, 69, 42, 34, 2, 3, 4, 55, 56, 5, 6, 80, 1, 87, 1, 45, 81, 51, ...]