Ft.Xml.Xslt.XPatternParser

Modules

ParsedAbbreviatedAbsoluteLocationPath  ParsedAxisSpecifier  ParsedPredicateList  XPatterns 
ParsedAbbreviatedRelativeLocationPath  ParsedExpr  ParsedRelativeLocationPath  re 
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.Xslt.XPatternParser'
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.Xslt.XPatternParser'
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

ChildOrAttributeAxisSpecifier1(self, __stack, __ptr)
ChildOrAttributeAxisSpecifier2(self, __stack, __ptr)
ChildOrAttributeAxisSpecifier3(self, __stack, __ptr)
IdKeyPattern1(self, __stack, __ptr)
IdKeyPattern2(self, __stack, __ptr)
LocationPathPattern1(self, __stack, __ptr)
LocationPathPattern2(self, __stack, __ptr)
LocationPathPattern3(self, __stack, __ptr)
LocationPathPattern4(self, __stack, __ptr)
LocationPathPattern5(self, __stack, __ptr)
LocationPathPattern6(self, __stack, __ptr)
Pattern1(self, __stack, __ptr)
Pattern2(self, __stack, __ptr)
RelativePathPattern1(self, __stack, __ptr)
RelativePathPattern2(self, __stack, __ptr)
RelativePathPattern3(self, __stack, __ptr)
StepPattern1(self, __stack, __ptr)
StepPattern2(self, __stack, __ptr)
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)
start1(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 = 121
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 = 168
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/Xslt/XPatternParser.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.Xslt.XPatternParser'
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 = [81, -42, 63, 12, 66, -32768, 35, -32768, 20, 53, -32768, 68, 16, 53, -32768, 53, 81, 63, 63, 63, ...]
action_routines = [None, <function start1>, <function Pattern1>, <function Pattern2>, <function LocationPathPattern1>, <function LocationPathPattern2>, <function LocationPathPattern3>, <function LocationPathPattern4>, <function LocationPathPattern5>, <function LocationPathPattern6>, None, <function IdKeyPattern1>, <function IdKeyPattern2>, <function RelativePathPattern1>, <function RelativePathPattern2>, <function RelativePathPattern3>, <function StepPattern1>, <function StepPattern2>, <function ChildOrAttributeAxisSpecifier1>, <function ChildOrAttributeAxisSpecifier2>, ...]
default_action = [19, 0, 19, 0, 4, 18, 1, 2, 6, 10, 13, 0, 0, 9, 20, 5, 19, 19, 19, 19, ...]
default_goto = [119, 6, 7, 8, 9, 10, 11, 50, 51, 52, 53, 32, 54, 23, 33, 55, 56, 57, 58, 59, ...]
derives = [0, 57, 58, 58, 59, 59, 59, 59, 59, 59, 59, 60, 60, 61, 61, 61, 62, 62, 63, 63, ...]
goto_idx = [-32768, -32768, 132, -32768, 13, 100, -32768, -32768, -32768, -40, 58, -57, -32768, 95, -32, -32768, -32768, -32768, -32768, -32768, ...]
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, 3, 1, 2, 1, 3, 3, 2, 1, 4, 6, 1, 3, 3, 2, 3, 1, 0, ...]
rhs_tokens = [None, [58], [59], [58, 46, 59], [47], [47, 61], [60], [60, 47, 61], [60, 15, 61], [15, 61], [61], [14, 48, 9, 49], [14, 48, 9, 50, 9, 49], [62], [61, 47, 62], [61, 15, 62], [63, 70], [63, 70, 68], [51], [], ...]
rule_info = [': line 0', 'Ft/Xml/Xslt/XPattern.bgen: line 19', 'Ft/Xml/Xslt/XPattern.bgen: line 33', 'Ft/Xml/Xslt/XPattern.bgen: line 46', 'Ft/Xml/Xslt/XPattern.bgen: line 69', 'Ft/Xml/Xslt/XPattern.bgen: line 84', 'Ft/Xml/Xslt/XPattern.bgen: line 103', 'Ft/Xml/Xslt/XPattern.bgen: line 118', 'Ft/Xml/Xslt/XPattern.bgen: line 138', 'Ft/Xml/Xslt/XPattern.bgen: line 158', 'Ft/Xml/Xslt/XPattern.bgen: line 169', 'Ft/Xml/Xslt/XPattern.bgen: line 180', 'Ft/Xml/Xslt/XPattern.bgen: line 208', 'Ft/Xml/Xslt/XPattern.bgen: line 245', 'Ft/Xml/Xslt/XPattern.bgen: line 256', 'Ft/Xml/Xslt/XPattern.bgen: line 281', 'Ft/Xml/Xslt/XPattern.bgen: line 318', 'Ft/Xml/Xslt/XPattern.bgen: line 333', 'Ft/Xml/Xslt/XPattern.bgen: line 355', 'Ft/Xml/Xslt/XPattern.bgen: line 364', ...]
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 = [32, 9, 3, 43, 61, 45, 48, 31, 9, 10, 11, 3, 3, 14, 15, 2, 4, 4, 9, 10, ...]
yytable = [73, 36, 38, 77, 86, 79, 12, 60, 39, 40, 41, 38, 38, 42, 43, 13, 14, 15, 39, 40, ...]