Meta::MMLParser Class Reference

Parse MML code, emitting M code. More...

#include <MMLParser.h>

Inheritance diagram for Meta::MMLParser:
Meta::MParser Meta::MEmitter

List of all members.

Public Member Functions

 MMLParser (size_t historySize=50)
 ~MMLParser ()
int parse (const mstr &code)
int parseFile (const mstr &filePath)
int parse ()

Detailed Description

Parse MML code, emitting M code.


Constructor & Destructor Documentation

Meta::MMLParser::MMLParser ( size_t  historySize = 50  ) 

Constructor.

Parameters:
historySize For interactive parsing, the number of input lines of history to maintain.
Meta::MMLParser::~MMLParser (  ) 

Destructor.


Member Function Documentation

int Meta::MMLParser::parse (  )  [virtual]

Interactively parse from stdin.

Returns:
Status 0 on success.

Implements Meta::MParser.

int Meta::MMLParser::parse ( const mstr code  )  [virtual]

Parse MML code from a string.

Returns:
Status 0 on success.

Implements Meta::MParser.

int Meta::MMLParser::parseFile ( const mstr filePath  )  [virtual]

Parse MML code from a file.

Returns:
Status 0 on success.

Implements Meta::MParser.


The documentation for this class was generated from the following file:

Generated on Wed Mar 24 16:22:42 2010 for AndroMeta by  doxygen 1.6.1