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

Class ChemkinReactionsParser

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

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

Instance Methods [hide private]
 
__init__(self, content, debug=False, noHeader=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, noHeader=False)
(Constructor)

 

Constructs the parser and the lexer

Parameters:
  • content - the string to be parsed
  • debug - output debug information during parsing
  • noHeader - switch that turns off the parsing of the header
Overrides: object.__init__