MBDyn-1.7.3
|
#include "mbconfig.h"
#include <cstring>
#include <stdlib.h>
#include <stack>
#include <map>
#include "mathtyp.h"
#include "parser.h"
#include "filename.h"
#include "Rot.hh"
Go to the source code of this file.
Classes | |
struct | DescWordSetType |
struct | RemarkDR |
struct | PrintSymbolTableDR |
struct | SetDR |
struct | SetEnvDR |
struct | ExitDR |
Typedefs | |
typedef std::map< std::string, DescRead *, ltstrcase > | DescFuncMapType |
Functions | |
static int | skip_remarks (HighParser &HP, InputStream &In, char &cIn) |
bool | SetDescData (const std::string &name, DescRead *rf) |
bool | ReadDescription (HighParser &HP, const std::string &desc) |
static void | InitDescData (void) |
static void | DestroyDescData (void) |
HighParser::ErrOut | mbdyn_get_line_data (void) |
std::ostream & | mbdyn_print_line_data (std::ostream &out) |
std::ostream & | operator<< (std::ostream &out, const HighParser::ErrOut &err) |
Variables | |
static DescFuncMapType | DescFuncMap |
static DescWordSetType | DescWordSet |
static unsigned | desc_done |
static std::stack< const HighParser * > | pHP |
static const HighParser::ErrOut | unknownErr = { "(unknown)", "(unknown)", 0 } |
typedef std::map<std::string, DescRead *, ltstrcase> DescFuncMapType |
|
static |
Definition at line 575 of file parser.cc.
References desc_done, DescFuncMap, and MBDYN_EXCEPT_ARGS.
Referenced by HighParser::~HighParser().
|
static |
Definition at line 553 of file parser.cc.
References desc_done, and SetDescData().
Referenced by HighParser::HighParser().
HighParser::ErrOut mbdyn_get_line_data | ( | void | ) |
Definition at line 603 of file parser.cc.
References pHP, and unknownErr.
Referenced by TypedValue::Cast(), and MathParser::stmt().
std::ostream& mbdyn_print_line_data | ( | std::ostream & | out | ) |
std::ostream& operator<< | ( | std::ostream & | out, |
const HighParser::ErrOut & | err | ||
) |
Definition at line 1372 of file parser.cc.
References DIR_SEP, HighParser::ErrOut::iLineNumber, HighParser::ErrOut::sFileName, and HighParser::ErrOut::sPathName.
bool ReadDescription | ( | HighParser & | HP, |
const std::string & | desc | ||
) |
Definition at line 310 of file parser.cc.
References DEBUGCOUTFNAME, DescFuncMap, func(), HighParser::GetLineData(), HighParser::GotDescription(), HighParser::IsArg(), HighParser::IsDescription(), and MBDYN_EXCEPT_ARGS.
Referenced by HighParser::GetDescription().
Definition at line 301 of file parser.cc.
References DescFuncMap.
Referenced by InitDescData(), and module_init().
|
static |
Definition at line 49 of file parser.cc.
References InputStream::eof(), InputStream::get(), HighParser::GetLineData(), MathParser::ONE_LINE_REMARK, and InputStream::putback().
Referenced by HighParser::GetStringWithDelims(), LowParser::GetToken(), HighParser::IsStringWithDelims(), and HighParser::ParseWord().
|
static |
Definition at line 550 of file parser.cc.
Referenced by DestroyDescData(), and InitDescData().
|
static |
Definition at line 290 of file parser.cc.
Referenced by DestroyDescData(), DescWordSetType::IsWord(), ReadDescription(), and SetDescData().
|
static |
|
static |
Definition at line 598 of file parser.cc.
Referenced by HighParser::HighParser(), mbdyn_get_line_data(), mbdyn_print_line_data(), module_init(), and HighParser::~HighParser().
|
static |
Definition at line 600 of file parser.cc.
Referenced by mbdyn_get_line_data().