Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NumberedLaSpec Class Reference

#include <numbered_la_spec.hh>

Inheritance diagram for NumberedLaSpec:

Inheritance graph
Collaboration diagram for NumberedLaSpec:

Collaboration graph
List of all members.

Public Methods

 NumberedLaSpec (int fixedLa_, EbnfNode *synLa_, const string &semLa_, const Position &pos, bool ignore_=true)
virtual LaSpecclone ()
void dump (ostream &os) const

Public Attributes

int id
bool ignore

Constructor & Destructor Documentation

NumberedLaSpec::NumberedLaSpec ( int fixedLa_,
EbnfNode * synLa_,
const string & semLa_,
const Position & pos,
bool ignore_ = true ) [inline]

Definition at line 64 of file numbered_la_spec.hh.

Referenced by clone().

Member Function Documentation

LaSpec * NumberedLaSpec::clone ( ) [virtual]

In-depth copying.

Reimplemented from LaSpec.

Definition at line 49 of file

void NumberedLaSpec::dump ( ostream & os ) const

Definition at line 56 of file

Member Data Documentation

int NumberedLaSpec::id

An id number that is unique within the whole parse tree (it is used to generated unique C++ names).

See also:

Definition at line 83 of file numbered_la_spec.hh.

bool NumberedLaSpec::ignore

This field is used during the code generation. If the lookahead is not placed at a choice point, it will be ignored. During the LA analysis stage, those lookahead specs that are really useful will have this field reset.

Definition at line 91 of file numbered_la_spec.hh.

The documentation for this class was generated from the following files:
Generated at Tue Jul 9 21:07:54 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001