cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Data Fields
Symbol Class Reference

#include <parser.h>

Collaboration diagram for Symbol:
Collaboration graph
[legend]

Public Types

enum  tokens {
  ERROR, EOSTAT, NUMBER, NAME,
  STRING, OPERATOR, NTOKS
}
 

Public Member Functions

 Symbol (enum tokens t, const string &v)
 

Data Fields

enum tokens toktype
 
string value
 

Detailed Description

Definition at line 33 of file parser.h.

Member Enumeration Documentation

Enumerator
ERROR 
EOSTAT 
NUMBER 
NAME 
STRING 
OPERATOR 
NTOKS 

Definition at line 35 of file parser.h.

Constructor & Destructor Documentation

Symbol::Symbol ( enum tokens  t,
const string &  v 
)
inline

Definition at line 38 of file parser.h.

Field Documentation

enum tokens Symbol::toktype

Definition at line 36 of file parser.h.

Referenced by ParseChemistry(), and ParseSpecies().

string Symbol::value

Definition at line 37 of file parser.h.

Referenced by Parser::getSymbol(), maybeNumber(), ParseChemistry(), and ParseSpecies().


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