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 { |
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 |
}; |
}; |
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; |