Package PyFoam :: Package RunDictionary :: Module ChemkinFiles :: Class ChemkinThermoParser
[hide private]
[frames] | no frames]

Class ChemkinThermoParser

                object --+        
                         |        
Basics.PlyParser.PlyParser --+    
                             |    
                 ChemkinParser --+
                                 |
                                ChemkinThermoParser

Class that parses a string that contains the contents of an Chemkin-Thermo-file and builds a nested structure of directories and lists from it

Instance Methods [hide private]
 
__init__(self, content, debug=False)
Constructs the parser and the lexer

Inherited from ChemkinParser: parserError, printContext

Inherited from Basics.PlyParser.PlyParser: parse

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from ChemkinParser: tokens

Inherited from Basics.PlyParser.PlyParser: precedence

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, content, debug=False)
(Constructor)

 

Constructs the parser and the lexer

Parameters:
  • content - the string to be parsed
  • debug - output debug information during parsing
Overrides: object.__init__