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

EbnfStarNode Class Reference

#include <ebnf_la_node.hh>

Inheritance diagram for EbnfStarNode:

Inheritance graph
Collaboration diagram for EbnfStarNode:

Collaboration graph
List of all members.

Public Methods

 EbnfStarNode (EbnfLaNode *in_, const Position &pos_)
 EbnfStarNode (const EbnfStarNode &o)
virtual EbnfNodeoperator[] (int index)
virtual int getChildCount ()
virtual EbnfNodeclone ()
virtual ~EbnfStarNode ()
virtual void dump (ostream &os) const

Public Attributes


Detailed Description

Represents an expansion obtained by applying the "*"operator to a nother expansion.

Definition at line 341 of file ebnf_la_node.hh.

Constructor & Destructor Documentation

EbnfStarNode::EbnfStarNode ( EbnfLaNode * in_,
const Position & pos_ ) [inline]

Definition at line 345 of file ebnf_la_node.hh.

Referenced by clone().

EbnfStarNode::EbnfStarNode ( const EbnfStarNode & o ) [inline]

Definition at line 351 of file ebnf_la_node.hh.

EbnfStarNode::~EbnfStarNode ( ) [inline, virtual]

Definition at line 373 of file ebnf_la_node.hh.

Member Function Documentation

EbnfNode & EbnfStarNode::operator[] ( int index ) [inline, virtual]

Returns the index'th child of this node.

0 <= index <= getChildCount()

Reimplemented from EbnfNode.

Definition at line 356 of file ebnf_la_node.hh.

int EbnfStarNode::getChildCount ( ) [inline, virtual]

Returns the number of children nodes of this node.

Reimplemented from EbnfNode.

Definition at line 363 of file ebnf_la_node.hh.

EbnfNode * EbnfStarNode::clone ( ) [inline, virtual]

Virtual copy creation.

Reimplemented from EbnfNode.

Definition at line 368 of file ebnf_la_node.hh.

void EbnfStarNode::dump ( ostream & os ) const [virtual]

Reimplemented from EbnfNode.

Definition at line 110 of file

Member Data Documentation

EbnfLaNode * EbnfStarNode::in

The operand expansion to which we apply the "*" operator.

Definition at line 390 of file ebnf_la_node.hh.

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