PyFoam.Basics.PlyParser module

Base class for all parser classes based on PLY

Most of this class was shamelessly stolen from the examples

class PyFoam.Basics.PlyParser.PlyParser(**kw)[source]

Bases: object

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

parse(content)[source]

Do the actual parsing :param content: String that is to be parsed :return: Result of the parsing

precedence = ()
tokens = ()