csound_orc.h
Go to the documentation of this file.00001 #ifndef __CSOUND_ORC_H
00002
00003 #define __CSOUND_ORC_H
00004 #include "tok.h"
00005 typedef struct TREE {
00006 int type;
00007 ORCTOKEN *value;
00008 int rate;
00009 int len;
00010 struct TREE *left;
00011 struct TREE *right;
00012 struct TREE *next;
00013 } TREE;
00014 #include "../Engine/csound_orcparse.h"
00015 #include "csoundCore.h"
00016
00017 enum {
00018 S_ANDTHEN = T_HIGHEST+1,
00019 S_APPLY,
00020 };
00021
00022 #define YYDEBUG 1
00023
00024 TREE* make_node(CSOUND *, int, TREE*, TREE*);
00025 TREE* make_leaf(CSOUND *,int, ORCTOKEN*);
00026 ORCTOKEN* make_int(CSOUND *,char *);
00027 ORCTOKEN* make_num(CSOUND *,char *);
00028 ORCTOKEN *make_token(CSOUND *csound, char *s);
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #endif