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

Type PlyParser

object --+
         |
        PlyParser

Known Subclasses:
FoamFileParser

Base class for a lexer/parser that has the rules defined as methods
Method Summary
  __init__(self, **kw)
Constructs the parser and the lexer
  parse(self, content)
Do the actual parsing
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple precedence = ()
tuple tokens = ()

Method Details

__init__(self, **kw)
(Constructor)

Constructs the parser and the lexer
Overrides:
__builtin__.object.__init__

parse(self, content)

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

Class Variable Details

precedence

Type:
tuple
Value:
()                                                                     

tokens

Type:
tuple
Value:
()                                                                     

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net