PyFoam.ThirdParty.ply.lex module¶
-
exception
PyFoam.ThirdParty.ply.lex.
LexError
(message, s)[source]¶ Bases:
Exception
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.lex.
LexToken
[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__str__': <function LexToken.__str__>, '__repr__': <function LexToken.__repr__>, '__dict__': <attribute '__dict__' of 'LexToken' objects>, '__weakref__': <attribute '__weakref__' of 'LexToken' objects>, '__doc__': None})¶
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.lex.
Lexer
[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__init__': <function Lexer.__init__>, 'clone': <function Lexer.clone>, 'writetab': <function Lexer.writetab>, 'readtab': <function Lexer.readtab>, 'input': <function Lexer.input>, 'begin': <function Lexer.begin>, 'push_state': <function Lexer.push_state>, 'pop_state': <function Lexer.pop_state>, 'current_state': <function Lexer.current_state>, 'skip': <function Lexer.skip>, 'token': <function Lexer.token>, '__iter__': <function Lexer.__iter__>, 'next': <function Lexer.next>, '__next__': <function Lexer.next>, '__dict__': <attribute '__dict__' of 'Lexer' objects>, '__weakref__': <attribute '__weakref__' of 'Lexer' objects>, '__doc__': None})¶
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__next__
()¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.lex.
LexerReflect
(ldict, log=None, reflags=0)[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__init__': <function LexerReflect.__init__>, 'get_all': <function LexerReflect.get_all>, 'validate_all': <function LexerReflect.validate_all>, 'get_tokens': <function LexerReflect.get_tokens>, 'validate_tokens': <function LexerReflect.validate_tokens>, 'get_literals': <function LexerReflect.get_literals>, 'validate_literals': <function LexerReflect.validate_literals>, 'get_states': <function LexerReflect.get_states>, 'get_rules': <function LexerReflect.get_rules>, 'validate_rules': <function LexerReflect.validate_rules>, 'validate_module': <function LexerReflect.validate_module>, '__dict__': <attribute '__dict__' of 'LexerReflect' objects>, '__weakref__': <attribute '__weakref__' of 'LexerReflect' objects>, '__doc__': None})¶
-
__init__
(ldict, log=None, reflags=0)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.lex.
NullLogger
[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__getattribute__': <function NullLogger.__getattribute__>, '__call__': <function NullLogger.__call__>, '__dict__': <attribute '__dict__' of 'NullLogger' objects>, '__weakref__': <attribute '__weakref__' of 'NullLogger' objects>, '__doc__': None})¶
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
PyFoam.ThirdParty.ply.lex.
PlyLogger
(f)[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__init__': <function PlyLogger.__init__>, 'critical': <function PlyLogger.critical>, 'warning': <function PlyLogger.warning>, 'error': <function PlyLogger.error>, 'info': <function PlyLogger.critical>, 'debug': <function PlyLogger.critical>, '__dict__': <attribute '__dict__' of 'PlyLogger' objects>, '__weakref__': <attribute '__weakref__' of 'PlyLogger' objects>, '__doc__': None})¶
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
debug
(msg, *args, **kwargs)¶
-
info
(msg, *args, **kwargs)¶
-
-
PyFoam.ThirdParty.ply.lex.
Token
(r)¶