/[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 3257 by schoenebeck, Tue May 30 17:20:02 2017 UTC revision 3260 by schoenebeck, Wed May 31 21:07:44 2017 UTC
# Line 36  enum StmtType_t { Line 36  enum StmtType_t {
36      STMT_LIST,      STMT_LIST,
37      STMT_BRANCH,      STMT_BRANCH,
38      STMT_LOOP,      STMT_LOOP,
39        STMT_SYNC,
40  };  };
41    
42  class Node {  class Node {
# Line 495  public: Line 496  public:
496      bool isPolyphonic() const { return m_condition->isPolyphonic() || m_statements->isPolyphonic(); }      bool isPolyphonic() const { return m_condition->isPolyphonic() || m_statements->isPolyphonic(); }
497  };  };
498    
499    class SyncBlock : public Statement {
500        StatementsRef m_statements;
501    public:
502        SyncBlock(StatementsRef statements) : m_statements(statements) {}
503        StmtType_t statementType() const { return STMT_SYNC; }
504        void dump(int level = 0);
505        Statements* statements() const;
506        bool isPolyphonic() const { return m_statements->isPolyphonic(); }
507    };
508    typedef Ref<SyncBlock,Node> SyncBlockRef;
509    
510  class Neg : public IntExpr {  class Neg : public IntExpr {
511      IntExprRef expr;      IntExprRef expr;
512  public:  public:

Legend:
Removed from v.3257  
changed lines
  Added in v.3260

  ViewVC Help
Powered by ViewVC