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({'__weakref__': <attribute '__weakref__' of 'LexToken' objects>, '__doc__': None, '__repr__': <function LexToken.__repr__>, '__str__': <function LexToken.__str__>, '__dict__': <attribute '__dict__' of 'LexToken' objects>, '__module__': 'PyFoam.ThirdParty.ply.lex'})¶
-
__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({'current_state': <function Lexer.current_state>, '__init__': <function Lexer.__init__>, '__module__': 'PyFoam.ThirdParty.ply.lex', 'next': <function Lexer.next>, 'input': <function Lexer.input>, 'readtab': <function Lexer.readtab>, 'pop_state': <function Lexer.pop_state>, 'push_state': <function Lexer.push_state>, '__dict__': <attribute '__dict__' of 'Lexer' objects>, '__weakref__': <attribute '__weakref__' of 'Lexer' objects>, '__doc__': None, 'begin': <function Lexer.begin>, 'skip': <function Lexer.skip>, 'clone': <function Lexer.clone>, 'writetab': <function Lexer.writetab>, '__iter__': <function Lexer.__iter__>, 'token': <function Lexer.token>, '__next__': <function Lexer.next>})¶
-
__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({'get_literals': <function LexerReflect.get_literals>, '__weakref__': <attribute '__weakref__' of 'LexerReflect' objects>, '__init__': <function LexerReflect.__init__>, '__doc__': None, 'get_all': <function LexerReflect.get_all>, 'validate_literals': <function LexerReflect.validate_literals>, 'get_rules': <function LexerReflect.get_rules>, 'validate_rules': <function LexerReflect.validate_rules>, 'get_tokens': <function LexerReflect.get_tokens>, 'validate_module': <function LexerReflect.validate_module>, 'validate_tokens': <function LexerReflect.validate_tokens>, '__module__': 'PyFoam.ThirdParty.ply.lex', '__dict__': <attribute '__dict__' of 'LexerReflect' objects>, 'validate_all': <function LexerReflect.validate_all>, 'get_states': <function LexerReflect.get_states>})¶
-
__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({'__weakref__': <attribute '__weakref__' of 'NullLogger' objects>, '__getattribute__': <function NullLogger.__getattribute__>, '__doc__': None, '__dict__': <attribute '__dict__' of 'NullLogger' objects>, '__module__': 'PyFoam.ThirdParty.ply.lex', '__call__': <function NullLogger.__call__>})¶
-
__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({'__weakref__': <attribute '__weakref__' of 'PlyLogger' objects>, '__init__': <function PlyLogger.__init__>, 'warning': <function PlyLogger.warning>, '__module__': 'PyFoam.ThirdParty.ply.lex', 'debug': <function PlyLogger.critical>, 'error': <function PlyLogger.error>, '__dict__': <attribute '__dict__' of 'PlyLogger' objects>, '__doc__': None, 'info': <function PlyLogger.critical>, 'critical': <function PlyLogger.critical>})¶
-
__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)¶