PyFoam.ThirdParty.ply.lex module¶
-
exception
PyFoam.ThirdParty.ply.lex.
LexError
(message, s)[source]¶ Bases:
exceptions.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__
= dict_proxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__str__': <function __str__>, '__repr__': <function __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]¶ -
-
__module__
= 'PyFoam.ThirdParty.ply.lex'¶
-
__next__
()¶
-
-
class
PyFoam.ThirdParty.ply.lex.
LexerReflect
(ldict, log=None, reflags=0)[source]¶ Bases:
object
-
__dict__
= dict_proxy({'__module__': 'PyFoam.ThirdParty.ply.lex', 'get_states': <function get_states>, 'validate_tokens': <function validate_tokens>, 'get_rules': <function get_rules>, 'validate_all': <function validate_all>, 'get_all': <function get_all>, 'validate_module': <function validate_module>, 'get_literals': <function get_literals>, '__dict__': <attribute '__dict__' of 'LexerReflect' objects>, 'validate_literals': <function validate_literals>, 'get_tokens': <function get_tokens>, 'validate_rules': <function validate_rules>, '__weakref__': <attribute '__weakref__' of 'LexerReflect' objects>, '__doc__': None, '__init__': <function __init__>})¶
-
__init__
(ldict, log=None, reflags=0)[source]¶ x.__init__(…) initializes x; see help(type(x)) for 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__
= dict_proxy({'__module__': 'PyFoam.ThirdParty.ply.lex', '__getattribute__': <function __getattribute__>, '__dict__': <attribute '__dict__' of 'NullLogger' objects>, '__call__': <function __call__>, '__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__
= dict_proxy({'info': <function critical>, '__dict__': <attribute '__dict__' of 'PlyLogger' objects>, '__module__': 'PyFoam.ThirdParty.ply.lex', 'critical': <function critical>, 'error': <function error>, 'debug': <function critical>, '__weakref__': <attribute '__weakref__' of 'PlyLogger' objects>, 'warning': <function warning>, '__doc__': None, '__init__': <function __init__>})¶
-
__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)¶