/[svn]/linuxsampler/trunk/src/scriptvm/tree.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC revision 3060 by schoenebeck, Fri Dec 16 14:05:20 2016 UTC
# Line 63  public: Line 63  public:
63  };  };
64  typedef Ref<IntExpr,Node> IntExprRef;  typedef Ref<IntExpr,Node> IntExprRef;
65    
66    /*class IntArrayExpr : virtual public VMIntArrayExpr, virtual public Expression {
67    public:
68        ExprType_t exprType() const { return INT_ARR_EXPR; }
69        String evalCastToStr();
70    };
71    typedef Ref<IntArrayExpr,Node> IntArrayExprRef;*/
72    
73  class StringExpr : virtual public VMStringExpr, virtual public Expression {  class StringExpr : virtual public VMStringExpr, virtual public Expression {
74  public:  public:
75      ExprType_t exprType() const { return STRING_EXPR; }      ExprType_t exprType() const { return STRING_EXPR; }
# Line 347  class FunctionCall : virtual public Leaf Line 354  class FunctionCall : virtual public Leaf
354  public:  public:
355      FunctionCall(const char* function, ArgsRef args, VMFunction* fn) :      FunctionCall(const char* function, ArgsRef args, VMFunction* fn) :
356          functionName(function), args(args), fn(fn) { }          functionName(function), args(args), fn(fn) { }
357      void dump(int level = 0);      void dump(int level = 0) OVERRIDE;
358      StmtFlags_t exec();      StmtFlags_t exec() OVERRIDE;
359      int evalInt();      int evalInt() OVERRIDE;
360      String evalStr();      VMIntArrayExpr* asIntArray() const OVERRIDE;
361      bool isConstExpr() const { return false; }      String evalStr() OVERRIDE;
362      ExprType_t exprType() const;      bool isConstExpr() const OVERRIDE { return false; }
363      String evalCastToStr();      ExprType_t exprType() const OVERRIDE;
364      bool isPolyphonic() const { return args->isPolyphonic(); }      String evalCastToStr() OVERRIDE;
365        bool isPolyphonic() const OVERRIDE { return args->isPolyphonic(); }
366  protected:  protected:
367      VMFnResult* execVMFn();      VMFnResult* execVMFn();
368  };  };

Legend:
Removed from v.3054  
changed lines
  Added in v.3060

  ViewVC Help
Powered by ViewVC