, m_Var(
value.m_Var)
71, m_Pos(
value.m_Pos)
72, m_Tag(
value.m_Tag)
103eTypeConversionError,
104 "Value too big to fit in the 8-byte signed integer type",
218, m_IntFunc1(
value)
227, m_IntFunc2(
value)
236, m_FloatFunc1(
value)
245, m_FloatFunc2(
value)
254, m_BoolFunc1(
value)
263, m_BoolFunc2(
value)
272, m_StringFunc1(
value)
335 Int8m = (
Int8)sqrt((
double)
n) + 1;
341 if(
n% k == 0)
break;
381 if((
g= h & 0xF0000000) != 0) {
392 switch(GetErrCode()) {
419, m_ParserFlags(ParserFlags)
447 AddSymbol(
"pi", 3.1415926535897932385E0);
448 AddSymbol(
"e", 2.7182818284590452354E0);
46298, 98, 98, 98, 98, 98,
47220, 20, 20, 20, 20, 20, 20,
47320, 20, 20, 20, 20, 20,
48199, 99, 99, 99, 99, 99,
49125, 25, 25, 25, 25, 25, 25,
49225, 25, 25, 25, 25, 25,
502 if(sp->
m_Name.compare(name) == 0) {
593 case '0':
case '1':
case '2':
case '3':
case '4':
594 case '5':
case '6':
case '7':
case '8':
case '9':
606ierr = sscanf(
m_Buf+
m_Pos-1,
"%I64i%n", &ival, &
n) != 1;
607ipos =
const_cast<char*
>(
m_Buf+
m_Pos-1+
n);
631 if(!ierr && ipos >= fpos) {
650 size_tpos=StringConstant.find(
'"');
652StringConstant = StringConstant.substr(0, pos);
683 if(
strcmp(sym_name,
"true") == 0) {
691}
else if(
strcmp(sym_name,
"false") == 0) {
708 ReportError(
string(
"Invalid symbol name: ") + sym_name);
746 booloperand =
true;
788 if(oper ==
eRPAR) {
799}
else if(
m_v_sp!= 0) {
830 ReportError(
"Can not subtract string literals");
851 ReportError(
"Can not mupltiply string literals");
916 ReportError(
"Illegal operation on string literals");
936 ReportError(
"Illegal operation on string literals");
957 ReportError(
"Illegal operation on string literals");
978 ReportError(
"Illegal operation on string literals");
999 ReportError(
"Illegal operation on string literals");
1010 if(!
Assign())
return;
1017 ReportError(
"Illegal operation on string literals");
1028 if(!
Assign())
return;
1035 ReportError(
"Illegal operation on string literals");
1047 if(!
Assign())
return;
1093 ReportError(
"Illegal operation on string literals");
1112 ReportError(
"Illegal operation on string literals");
1131 ReportError(
"Illegal operation on string literals");
1150 ReportError(
"Illegal operation on string literals");
1169 ReportError(
"Illegal operation on string literals");
1176 if(!
Assign())
return;
1185 if(!
Assign())
return;
1190 ReportError(
"Illegal operation on string literals");
1205 ReportError(
"Illegal operation on string literals");
1230 ReportError(
"Illegal operation on string literals");
1244 ReportError(
"Illegal operation on string literals");
1254 ReportError(
"Illegal operation on string literals");
1260 ReportError(
"Illegal operation on string literals");
1277 if(oper !=
eRPAR) {
1284 switch(sym->
m_Tag) {
1288 "Function should take one argument");
1299 "Function should take two arguments");
1311 "Function should take one argument");
1322 "Function should take two arguments");
1334 "Function should take one argument");
1345 "Function should take two arguments");
1357 "Function should take one argument");
1373}
else if(n_args != 1) {
virtual void ReportExtra(ostream &out) const override
virtual CExprParserException(const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, int pos, EDiagSev severity=eDiag_Error) const char GetErrCodeString)(void) const override
virtual void x_Assign(const CException &src) override
static int sm_lpr[eTERMINALS]
EOperator IfElseChar(char c1, EOperator val1, char c2, EOperator val2, EOperator val_def)
CExprSymbol * hash_table[hash_table_size]
EOperator m_OStack[max_stack_size]
void Parse(const char *str)
CExprSymbol * AddSymbol(const char *name, VT value)
TParserFlags AutoCreateVariable(void) const
EOperator IfChar(char c, EOperator val, EOperator val_def)
bool LogicalOnly(void) const
CExprParser(TParserFlags auto_var=0)
static void ReportError(int pos, const string &msg)
EOperator IfLongest2ElseChar(char c1, char c2, EOperator val_true_longest, EOperator val_true, EOperator val_false, EOperator val_def)
static int sm_rpr[eTERMINALS]
EOperator Scan(bool operand)
CExprValue m_VStack[max_stack_size]
CExprSymbol * GetSymbol(const char *name) const
double(* FFloatFunc1)(double)
FStringFunc1 m_StringFunc1
double(* FFloatFunc2)(double, double)
void SetType(EValue type)
EValue GetType(void) const
double GetDouble(void) const
string GetString(void) const
std::ofstream out("events_result.xml")
main entry point for tests
static double to_float(double m_Val)
static Int8 gcd(Int8 x, Int8 y)
static Int8 prime(Int8 n)
static Int8 invmod(Int8 x, Int8 y)
static Int8 to_int(Int8 m_Val)
unsigned string_hash_function(const char *p)
static const char * str(char *buf, int n)
virtual void x_Assign(const CException &src)
Helper method for copying exception data.
#define NCBI_THROW2(exception_class, err_code, message, extra)
Throw exception with extra parameter.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
int32_t Int4
4-byte (32-bit) signed integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
int64_t Int8
8-byte (64-bit) signed integer
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
const GenericPointer< typename T::ValueType > T2 value
int strcmp(const char *str1, const char *str2)
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
int g(Seg_Gsm *spe, Seq_Mtf *psm, Thd_Gsm *tdg)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4