/[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 3293 by schoenebeck, Tue Jun 27 22:19:19 2017 UTC revision 3311 by schoenebeck, Sat Jul 15 16:24:59 2017 UTC
# Line 37  enum StmtType_t { Line 37  enum StmtType_t {
37      STMT_BRANCH,      STMT_BRANCH,
38      STMT_LOOP,      STMT_LOOP,
39      STMT_SYNC,      STMT_SYNC,
40        STMT_NOOP,
41  };  };
42    
43  class Node {  class Node {
# Line 300  typedef Ref<Statement,Node> StatementRef Line 301  typedef Ref<Statement,Node> StatementRef
301  class NoOperation : public Statement {  class NoOperation : public Statement {
302  public:  public:
303      NoOperation() : Statement() {}      NoOperation() : Statement() {}
304      StmtType_t statementType() const { return STMT_LEAF; }      StmtType_t statementType() const { return STMT_NOOP; }
305      void dump(int level = 0) {}      void dump(int level = 0) {}
306      bool isPolyphonic() const { return false; }      bool isPolyphonic() const { return false; }
307  };  };
# Line 375  protected: Line 376  protected:
376  };  };
377  typedef Ref<FunctionCall,Node> FunctionCallRef;  typedef Ref<FunctionCall,Node> FunctionCallRef;
378    
379    class NoFunctionCall : public FunctionCall {
380    public:
381        NoFunctionCall() : FunctionCall("nothing", new Args, NULL) {}
382        StmtType_t statementType() const { return STMT_NOOP; }
383    };
384    typedef Ref<NoFunctionCall,Node> NoFunctionCallRef;
385    
386  class EventHandler : virtual public Statements, virtual public VMEventHandler {  class EventHandler : virtual public Statements, virtual public VMEventHandler {
387      StatementsRef statements;      StatementsRef statements;
388      bool usingPolyphonics;      bool usingPolyphonics;

Legend:
Removed from v.3293  
changed lines
  Added in v.3311

  ViewVC Help
Powered by ViewVC