/home66/gary/public_html/cloudy/c10_branch/source/parser.cpp File Reference

#include "cddefines.h"
#include "parser.h"
#include "called.h"
#include "energy.h"
#include "flux.h"
#include "input.h"
#include "elementnames.h"
#include <deque>
Include dependency graph for parser.cpp:

Go to the source code of this file.

Data Structures

class  Token

Functions

STATIC bool ParseExpr (deque< Token > &chTokens, vector< double > &valstack)
const char * nWord (const char *chKey, const char *chCard)
bool isBoundaryChar (char c)
STATIC bool ParseNumber (deque< Token > &chTokens, vector< double > &valstack)
STATIC bool doop (vector< double > &valstack, const string &op)
STATIC bool ParseExp (deque< Token > &chTokens, vector< double > &valstack)
STATIC bool ParseProduct (deque< Token > &chTokens, vector< double > &valstack)

Function Documentation

STATIC bool doop ( vector< double > &  valstack,
const string &  op 
)

Definition at line 381 of file parser.cpp.

References ioQQQ, and pow().

Referenced by ParseExp(), and ParseProduct().

Here is the call graph for this function:

bool isBoundaryChar ( char  c  ) 

Definition at line 60 of file parser.cpp.

Referenced by Parser::nMatch1(), and nWord().

const char* nWord ( const char *  chKey,
const char *  chCard 
)

nWord determine whether match to a keyword occurs on command line, return value is 0 if no match, and position of match within string if hit

Parameters:
*chKey 
*chCard 

Definition at line 31 of file parser.cpp.

References ASSERT, DEBUG_ENTRY, and isBoundaryChar().

Here is the call graph for this function:

STATIC bool ParseExp ( deque< Token > &  chTokens,
vector< double > &  valstack 
)

Definition at line 405 of file parser.cpp.

References doop(), ParseNumber(), and Token::symOp.

Referenced by ParseProduct().

Here is the call graph for this function:

STATIC bool ParseExpr ( deque< Token > &  chTokens,
vector< double > &  valstack 
)

Definition at line 450 of file parser.cpp.

References ParseProduct().

Referenced by Parser::FFmtRead().

Here is the call graph for this function:

STATIC bool ParseNumber ( deque< Token > &  chTokens,
vector< double > &  valstack 
)

Definition at line 370 of file parser.cpp.

References Token::symNumber.

Referenced by ParseExp().

STATIC bool ParseProduct ( deque< Token > &  chTokens,
vector< double > &  valstack 
)

Definition at line 427 of file parser.cpp.

References doop(), ParseExp(), and Token::symOp.

Referenced by ParseExpr().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1