#include "precompiled.h"
#include "Parser.h"
Go to the source code of this file.
#define FUNC_IMPL_CAST_GETDOUBLE |
( |
|
func_name, |
|
|
|
type |
|
) |
| |
Value:bool CParserValue::func_name(type &ret) \
{ \
double d; \
if (GetDouble(d)) \
return ret = (type)d, true; \
else \
return false; \
}
Definition at line 39 of file Parser.cpp.
#define FUNC_IMPL_GETARG |
( |
|
func_name, |
|
|
|
get_name, |
|
|
|
type |
|
) |
| |
Value:bool CParserLine::func_name(size_t arg, type &ret) \
{ \
if (GetArgCount() <= arg) \
return false; \
return m_Arguments[arg].get_name(ret); \
}
Definition at line 52 of file Parser.cpp.
#define REGULAR_EXPRESSION '$' |
#define REGULAR_MAX_LENGTH 10 |
#define START_DYNAMIC '<' |
#define START_OPTIONAL '[' |
static bool _IsStrictNameChar |
( |
const char & |
c | ) |
|
|
static |
static bool _IsValueChar |
( |
const char & |
c | ) |
|
|
static |