Zen
A cross-platform functional programming language

Parser Class Reference

The Parser class. More...

#include <Parser.hpp>

List of all members.

Public Member Functions

 Parser (ParseContext &pctx)
 Default constructor.
 ~Parser ()
 Destructor.
void feedToken (const Token &token)
 Feed a token into the parser.
void parse ()
 Parse tokens read so far.

Private Attributes

ParseContext_pctx
 The parser context.
void * _parser
 The internal parser instance.

Detailed Description

The Parser class.


Constructor & Destructor Documentation

Parser ( ParseContext pctx)

Default constructor.

Parameters:
pctxThe parser context

Member Function Documentation

void feedToken ( const Token token)

Feed a token into the parser.

Parameters:
tokenThe token

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines