Package PyFoam :: Package Basics :: Module PlyParser :: Class PlyParser
[hide private]
[frames] | no frames]

Class PlyParser

source code

object --+
         |
        PlyParser
Known Subclasses:
RunDictionary.ParsedParameterFile.FoamFileParser, RunDictionary.ChemkinFiles.ChemkinParser

Base class for a lexer/parser that has the rules defined as methods

Instance Methods [hide private]
  __init__(self, **kw)
Constructs the parser and the lexer
  parse(self, content)
Do the actual parsing

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


Class Variables [hide private]
  tokens = ()
  precedence = ()

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 
Constructs the parser and the lexer
Overrides: object.__init__

parse(self, content)

source code 
Do the actual parsing
Parameters:
  • content - String that is to be parsed
Returns:
Result of the parsing

Class Variable Details [hide private]

tokens

None
Value:
()                                                                     
      

precedence

None
Value:
()