Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShToken Class Reference

A token in the (unparsed) parse tree. More...

#include <ShToken.hpp>

Inheritance diagram for SH::ShToken:

Inheritance graph
[legend]
Collaboration diagram for SH::ShToken:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ShToken (ShTokenType type)
ShTokenType type ()
 Return the type of this token.
void print (std::ostream &out, int indent) const
 Output a textual representation of this control statement.

Public Attributes

std::vector< ShTokenArgumentarguments
 Any arguments bound to the token. May be empty.

Detailed Description

A token in the (unparsed) parse tree.

This represents a token such as SH_IF. The token can optionally have some arguments, see ShTokenArgument. Later these tokens will be parsed into real control structures by the parser.

Definition at line 62 of file ShToken.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:24 2005 for Sh by  doxygen 1.4.1