Ft.Xml.XPointer.XPtrExprParser

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.XPointer.XPtrExprParser'
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.XPointer.XPtrExprParser'
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)
step3(self, __stack, __ptr)
step4(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 = 91
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 = 151
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/XPointer/XPtrExprParser.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.XPointer.XPtrExprParser'
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, -32, 13, 5, 57, -3, -32768, -32768, 77, -32768, -32768, -32768, 36, -10, -32768, -32768, ...]
action_routines = [None, <function step1>, <function step2>, None, None, <function absoluteLocationPath1>, <function absoluteLocationPath2>, None, None, <function relativeLocationPath2>, None, <function step3>, <function step4>, None, <function predicateList1>, <function predicateList2>, <function axisSpecifier1>, None, <function nodeTest1>, <function nodeTest2>, ...]
default_action = [28, 26, 32, 33, 30, 0, 28, 0, 5, 28, 25, 27, 28, 8, 42, 4, 3, 0, 7, 10, ...]
default_goto = [13, 14, 15, 16, 49, 17, 45, 48, 69, 18, 19, 20, 21, 61, 22, 23, 62, 63, 24, 25, ...]
derives = [0, 57, 57, 58, 58, 59, 59, 59, 60, 60, 60, 57, 57, 57, 61, 61, 62, 62, 63, 63, ...]
goto_idx = [-18, -32768, -32768, -5, 7, -32768, -32768, 63, -32768, -32768, -32768, -32768, -32768, 4, -32768, 99, -32768, 32, 104, 67, ...]
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, 2, 1, 1, 1, 2, 1, 1, 3, 1, 2, 3, 1, 1, 2, 2, 1, 1, 3, ...]
rhs_tokens = [None, [72], [72, 61], [60], [59], [46], [46, 60], [66], [57], [60, 46, 57], [67], [62, 63], [62, 63, 61], [68], [64], [61, 64], [43, 4], [69], [12], [42, 47, 48], ...]
rule_info = [': line 0', 'Ft/Xml/XPointer/XPtrExpr.bgen: line 20', 'Ft/Xml/XPointer/XPtrExpr.bgen: line 29', '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', ...]
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, 6, 12, 8, 0, 48, 9, 10, 11, 4, 53, 14, 15, 9, 3, 47, 3, 55, 56, 49, ...]
yytable = [1, 35, 43, 38, 89, 82, 2, 3, 4, 37, 83, 5, 6, 39, 1, 34, 1, 57, 58, 46, ...]