Ft.Rdf.Parsers.Versa.VersaParser

Modules

BooleanExpressions  Literals  ResourceExpressions  boolean 
DataTypes  NamedExpressions  Traversal  re 

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.Rdf.Parsers.Versa.VersaParser'
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.Rdf.Parsers.Versa.VersaParser'
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

BackwardTraversal1(self, __stack, __ptr)
Expression1(self, __stack, __ptr)
Expression4(self, __stack, __ptr)
Expression5(self, __stack, __ptr)
Expression6(self, __stack, __ptr)
ExpressionList1(self, __stack, __ptr)
ExpressionList2(self, __stack, __ptr)
ForwardFilter1(self, __stack, __ptr)
ForwardTraversal1(self, __stack, __ptr)
Literal1(self, __stack, __ptr)
Literal2(self, __stack, __ptr)
Literal3(self, __stack, __ptr)
Literal4(self, __stack, __ptr)
Literal5(self, __stack, __ptr)
Literal6(self, __stack, __ptr)
Literal7(self, __stack, __ptr)
Particle1(self, __stack, __ptr)
Particle2(self, __stack, __ptr)
YYTRANSLATE = lambda(x)

Data

ASTERISK = 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.
AT = 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.
BACKWARD_ARROW = 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.
COMMA = 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.
DASH = 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.
DOLLAR = 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.
DOT = 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.
FALSE = 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.
FORWARD_ARROW = 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.
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_CURLY = 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.
LEFT_PAREN = 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.
LEFT_SQUARE = 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.
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.
NOT = 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.
NUMBER_LITERAL = 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.
PIPE = 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.
PURE_QNAME = 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.
QNAME = 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.
RIGHT_CURLY = 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.
RIGHT_PAREN = 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.
RIGHT_SQUARE = 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.
SEMICOLON = 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.
STRING_LITERAL = 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.
TRUE = 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.
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 = 49
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 = 112
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 = 26
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/Rdf/Parsers/Versa/VersaParser.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.Rdf.Parsers.Versa.VersaParser'
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 = [25, 3, -32768, -32768, -32768, 25, -12, -32768, -32768, -32768, -32768, -10, 14, -32768, -32768, -32768, -32768, -32768, -32768, -6, ...]
action_routines = [None, None, None, <function ForwardTraversal1>, <function ForwardFilter1>, <function BackwardTraversal1>, None, None, None, <function Literal1>, <function Literal2>, <function Literal3>, <function Literal4>, <function Literal5>, <function Literal6>, <function Literal7>, <function Particle1>, <function Particle2>, <function Expression1>, None, ...]
default_action = [0, 0, 11, 17, 16, 0, 0, 12, 13, 14, 15, 0, 0, 6, 7, 8, 24, 20, 19, 1, ...]
default_goto = [47, 13, 14, 15, 16, 17, 18, 19, 31]
derives = [0, 26, 26, 27, 28, 29, 30, 30, 30, 31, 31, 31, 31, 31, 31, 31, 32, 32, 33, 33, ...]
goto_idx = [-32768, -32768, -32768, -32768, -32768, -32768, -32768, -5, -32768]
pattern_actions = {'p00': (None, 278), 'p01': (None, 264), 'p02': (None, 265), 'p03': (None, 263), 'p04': (None, 279), 'p05': (None, 267), 'p06': (None, 266), 'p07': (None, 268), 'p08': (None, 269), 'p09': (None, 270), ...}
patterns = {1: <_sre.SRE_Pattern object>}
rhs_size = [0, 1, 2, 5, 6, 5, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, ...]
rhs_tokens = [None, [33], [33, 7], [33, 9, 33, 10, 33], [33, 25, 9, 33, 10, 33], [33, 11, 33, 9, 33], [27], [28], [29], [22, 18], [16, 18, 17], [4], [18], [19], [20], [21], [8], [5], [13, 33, 12], [32], ...]
rule_info = [': line 0', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 48', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 51', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 67', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 84', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 111', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 133', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 136', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 139', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 147', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 159', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 172', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 181', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 203', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 225', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 241', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 258', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 267', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 297', 'Ft/Rdf/Parsers/Versa/Versa.bgen: line 309', ...]
token_names = ['<EOF>', 'error', '$undefined.', 'QNAME', 'PURE_QNAME', 'ASTERISK', 'COMMA', 'SEMICOLON', 'DOT', 'DASH', 'FORWARD_ARROW', 'BACKWARD_ARROW', 'RIGHT_PAREN', 'LEFT_PAREN', 'LEFT_SQUARE', 'RIGHT_SQUARE', 'LEFT_CURLY', 'RIGHT_CURLY', 'STRING_LITERAL', 'NUMBER_LITERAL', ...]
token_translations = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ...]
yycheck = [5, 7, 9, 9, 11, 11, 18, 9, 18, 11, 12, 9, 10, 11, 6, 20, 13, 3, 25, 25, ...]
yytable = [21, 25, 26, 26, 27, 27, 22, 26, 23, 27, 32, 26, 39, 27, 37, 30, 20, 24, 28, 28, ...]