aboutsummaryrefslogblamecommitdiff
path: root/semantics.h
blob: 855efb17f13bc456e3e68ea2d18d38bb07c7357e (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                   
                  
 
                           
                                



                           

                               

                         
 













                             






                             
 
                                
                                

                                
             
               

                                                 
              
               
                 
                     
               

                                                    
               
                   
  
 
                                                         
                           
 
              
          





                

             
           
               
           



                                                        
                                           
                
                         

                                                
                


                          
                        
                           
                           
                                                  
          
                                      
               
  
 
                                                       
                                   
 
                                                  
                                            
 

                             
                    
              
                 
            
  

                       
                                 
                     
                      


         
                                                            
                                 
                                                  

                                                                    
                                     
 



                             



                             
                    





                             
            

                    
                 


                                                  
  
 
                        
                 


             


                

             



                     
                   


                                      

                                         






                                                               
                             
                                                                   
                                                         
                                                         
                                                            

                               
                                     
 
                                        
                                         
 
                                 






               
                                    
                      
                      



                                   
                            



                       
                      
      
#ifndef SEMANTICS_H
#define SEMANTICS_H
#include "const.h"

typedef struct CNode CNode;
typedef struct CTable *CTable_t;
typedef struct CType CType;
typedef CType *CType_t;
typedef struct CVar CVar;
typedef CVar *CVar_t;
typedef struct CSymbol CSymbol;
typedef CSymbol *CSymbol_t;
typedef struct CDef CDef;
typedef CDef *CDef_t;

typedef struct CTList CTList;
typedef CTList *CTList_t;
struct CTList {
    CType_t type;
    CTList_t next;
};

typedef struct CVList CVList;
typedef CVList