410 |
|
|
411 |
ExprType_t FunctionCall::exprType() const { |
ExprType_t FunctionCall::exprType() const { |
412 |
if (!fn) return EMPTY_EXPR; |
if (!fn) return EMPTY_EXPR; |
413 |
return fn->returnType(); |
FunctionCall* self = const_cast<FunctionCall*>(this); |
414 |
|
return fn->returnType(dynamic_cast<VMFnArgs*>(&*self->args)); |
415 |
} |
} |
416 |
|
|
417 |
VMFnResult* FunctionCall::execVMFn() { |
VMFnResult* FunctionCall::execVMFn() { |
1057 |
return (m_statements) ? const_cast<Statements*>( &*m_statements ) : NULL; |
return (m_statements) ? const_cast<Statements*>( &*m_statements ) : NULL; |
1058 |
} |
} |
1059 |
|
|
1060 |
|
String Neg::evalCastToStr() { |
1061 |
|
return expr->evalCastToStr(); |
1062 |
|
} |
1063 |
|
|
1064 |
void Neg::dump(int level) { |
void Neg::dump(int level) { |
1065 |
printIndents(level); |
printIndents(level); |
1066 |
printf("Negative Expr\n"); |
printf("Negative Expr\n"); |