PyFoam.ThirdParty.ply.yacc module¶
-
class
PyFoam.ThirdParty.ply.yacc.Grammar(terminals)[source]¶ Bases:
object-
__dict__= mappingproxy({'compute_first': <function Grammar.compute_first>, '__doc__': None, 'build_lritems': <function Grammar.build_lritems>, '__len__': <function Grammar.__len__>, 'set_precedence': <function Grammar.set_precedence>, 'unused_rules': <function Grammar.unused_rules>, 'infinite_cycles': <function Grammar.infinite_cycles>, 'unused_terminals': <function Grammar.unused_terminals>, 'unused_precedence': <function Grammar.unused_precedence>, 'compute_follow': <function Grammar.compute_follow>, 'find_unreachable': <function Grammar.find_unreachable>, '_first': <function Grammar._first>, 'add_production': <function Grammar.add_production>, '__dict__': <attribute '__dict__' of 'Grammar' objects>, 'set_start': <function Grammar.set_start>, '__init__': <function Grammar.__init__>, '__getitem__': <function Grammar.__getitem__>, 'undefined_symbols': <function Grammar.undefined_symbols>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__weakref__': <attribute '__weakref__' of 'Grammar' objects>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
exception
PyFoam.ThirdParty.ply.yacc.GrammarError[source]¶ Bases:
PyFoam.ThirdParty.ply.yacc.YaccError-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
-
exception
PyFoam.ThirdParty.ply.yacc.LALRError[source]¶ Bases:
PyFoam.ThirdParty.ply.yacc.YaccError-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
-
class
PyFoam.ThirdParty.ply.yacc.LRGeneratedTable(grammar, method='LALR', log=None)[source]¶ Bases:
PyFoam.ThirdParty.ply.yacc.LRTable-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
-
class
PyFoam.ThirdParty.ply.yacc.LRItem(p, n)[source]¶ Bases:
object-
__dict__= mappingproxy({'__repr__': <function LRItem.__repr__>, '__dict__': <attribute '__dict__' of 'LRItem' objects>, '__str__': <function LRItem.__str__>, '__doc__': None, '__weakref__': <attribute '__weakref__' of 'LRItem' objects>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__init__': <function LRItem.__init__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.LRParser(lrtab, errorf)[source]¶ Bases:
object-
__dict__= mappingproxy({'errok': <function LRParser.errok>, '__doc__': None, '__module__': 'PyFoam.ThirdParty.ply.yacc', 'parseopt': <function LRParser.parseopt>, '__weakref__': <attribute '__weakref__' of 'LRParser' objects>, '__dict__': <attribute '__dict__' of 'LRParser' objects>, 'parsedebug': <function LRParser.parsedebug>, 'disable_defaulted_states': <function LRParser.disable_defaulted_states>, 'parse': <function LRParser.parse>, 'restart': <function LRParser.restart>, 'set_defaulted_states': <function LRParser.set_defaulted_states>, 'parseopt_notrack': <function LRParser.parseopt_notrack>, '__init__': <function LRParser.__init__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.LRTable[source]¶ Bases:
object-
__dict__= mappingproxy({'read_table': <function LRTable.read_table>, 'read_pickle': <function LRTable.read_pickle>, '__dict__': <attribute '__dict__' of 'LRTable' objects>, 'bind_callables': <function LRTable.bind_callables>, '__doc__': None, '__weakref__': <attribute '__weakref__' of 'LRTable' objects>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__init__': <function LRTable.__init__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.MiniProduction(str, name, len, func, file, line)[source]¶ Bases:
object-
__dict__= mappingproxy({'__repr__': <function MiniProduction.__repr__>, '__dict__': <attribute '__dict__' of 'MiniProduction' objects>, '__str__': <function MiniProduction.__str__>, '__doc__': None, '__weakref__': <attribute '__weakref__' of 'MiniProduction' objects>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__init__': <function MiniProduction.__init__>, 'bind': <function MiniProduction.bind>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.NullLogger[source]¶ Bases:
object-
__dict__= mappingproxy({'__dict__': <attribute '__dict__' of 'NullLogger' objects>, '__call__': <function NullLogger.__call__>, '__doc__': None, '__weakref__': <attribute '__weakref__' of 'NullLogger' objects>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__getattribute__': <function NullLogger.__getattribute__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.ParserReflect(pdict, log=None)[source]¶ Bases:
object-
__dict__= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.yacc', 'get_all': <function ParserReflect.get_all>, 'validate_start': <function ParserReflect.validate_start>, 'validate_tokens': <function ParserReflect.validate_tokens>, 'validate_precedence': <function ParserReflect.validate_precedence>, 'validate_error_func': <function ParserReflect.validate_error_func>, 'validate_pfunctions': <function ParserReflect.validate_pfunctions>, 'get_tokens': <function ParserReflect.get_tokens>, 'validate_all': <function ParserReflect.validate_all>, '__init__': <function ParserReflect.__init__>, 'get_start': <function ParserReflect.get_start>, 'signature': <function ParserReflect.signature>, 'get_pfunctions': <function ParserReflect.get_pfunctions>, '__weakref__': <attribute '__weakref__' of 'ParserReflect' objects>, '__dict__': <attribute '__dict__' of 'ParserReflect' objects>, 'validate_modules': <function ParserReflect.validate_modules>, 'get_precedence': <function ParserReflect.get_precedence>, 'get_error_func': <function ParserReflect.get_error_func>, '__doc__': None})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.PlyLogger(f)[source]¶ Bases:
object-
__dict__= mappingproxy({'__dict__': <attribute '__dict__' of 'PlyLogger' objects>, 'debug': <function PlyLogger.debug>, '__weakref__': <attribute '__weakref__' of 'PlyLogger' objects>, 'info': <function PlyLogger.debug>, 'error': <function PlyLogger.error>, 'critical': <function PlyLogger.debug>, 'warning': <function PlyLogger.warning>, '__doc__': None, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__init__': <function PlyLogger.__init__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
critical(msg, *args, **kwargs)¶
-
info(msg, *args, **kwargs)¶
-
-
class
PyFoam.ThirdParty.ply.yacc.Production(number, name, prod, precedence=('right', 0), func=None, file='', line=0)[source]¶ Bases:
object-
__dict__= mappingproxy({'__len__': <function Production.__len__>, 'reduced': 0, 'lr_item': <function Production.lr_item>, '__weakref__': <attribute '__weakref__' of 'Production' objects>, '__dict__': <attribute '__dict__' of 'Production' objects>, 'bind': <function Production.bind>, '__getitem__': <function Production.__getitem__>, '__repr__': <function Production.__repr__>, '__nonzero__': <function Production.__nonzero__>, '__str__': <function Production.__str__>, '__doc__': None, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__init__': <function Production.__init__>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
reduced= 0¶
-
-
exception
PyFoam.ThirdParty.ply.yacc.VersionError[source]¶ Bases:
PyFoam.ThirdParty.ply.yacc.YaccError-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
-
exception
PyFoam.ThirdParty.ply.yacc.YaccError[source]¶ Bases:
Exception-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.YaccProduction(s, stack=None)[source]¶ Bases:
object-
__dict__= mappingproxy({'__dict__': <attribute '__dict__' of 'YaccProduction' objects>, 'lexpos': <function YaccProduction.lexpos>, 'set_lineno': <function YaccProduction.set_lineno>, '__weakref__': <attribute '__weakref__' of 'YaccProduction' objects>, '__len__': <function YaccProduction.__len__>, 'lineno': <function YaccProduction.lineno>, 'linespan': <function YaccProduction.linespan>, '__init__': <function YaccProduction.__init__>, 'error': <function YaccProduction.error>, '__getitem__': <function YaccProduction.__getitem__>, '__getslice__': <function YaccProduction.__getslice__>, '__setitem__': <function YaccProduction.__setitem__>, '__doc__': None, '__module__': 'PyFoam.ThirdParty.ply.yacc', 'lexspan': <function YaccProduction.lexspan>})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.yacc.YaccSymbol[source]¶ Bases:
object-
__dict__= mappingproxy({'__repr__': <function YaccSymbol.__repr__>, '__dict__': <attribute '__dict__' of 'YaccSymbol' objects>, '__str__': <function YaccSymbol.__str__>, '__weakref__': <attribute '__weakref__' of 'YaccSymbol' objects>, '__module__': 'PyFoam.ThirdParty.ply.yacc', '__doc__': None})¶
-
__module__= 'PyFoam.ThirdParty.ply.yacc'¶
-
__weakref__¶ list of weak references to the object (if defined)
-