635 |
}; |
}; |
636 |
typedef Ref<DynamicVariableCall,Node> DynamicVariableCallRef; |
typedef Ref<DynamicVariableCall,Node> DynamicVariableCallRef; |
637 |
|
|
638 |
class FunctionCall : virtual public LeafStatement, virtual public IntExpr, virtual public RealExpr, virtual public StringExpr { |
class FunctionCall : virtual public LeafStatement, virtual public IntExpr, virtual public RealExpr, virtual public StringExpr, virtual public ArrayExpr { |
639 |
String functionName; |
String functionName; |
640 |
ArgsRef args; |
ArgsRef args; |
641 |
VMFunction* fn; |
VMFunction* fn; |
647 |
StmtFlags_t exec() OVERRIDE; |
StmtFlags_t exec() OVERRIDE; |
648 |
vmint evalInt() OVERRIDE; |
vmint evalInt() OVERRIDE; |
649 |
vmfloat evalReal() OVERRIDE; |
vmfloat evalReal() OVERRIDE; |
650 |
|
vmint arraySize() const OVERRIDE; |
651 |
VMIntArrayExpr* asIntArray() const OVERRIDE; |
VMIntArrayExpr* asIntArray() const OVERRIDE; |
652 |
VMRealArrayExpr* asRealArray() const OVERRIDE; |
VMRealArrayExpr* asRealArray() const OVERRIDE; |
653 |
String evalStr() OVERRIDE; |
String evalStr() OVERRIDE; |