Changeset 3177

Show
Ignore:
Timestamp:
12/09/08 08:18:02 (12 months ago)
Author:
sukyoungryu
Message:

[ast refactoring] Added some interfaces to describe nodes introduced/eliminated after a compiler phase.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/astgen/Fortress.ast

    r3176 r3177  
    936936                         * e.g.) x y 
    937937                         */ 
    938                         _RewriteFnApp(Expr function, Expr argument); 
     938                        _RewriteFnApp(Expr function, Expr argument) implements InAfterTypeChecking; 
    939939                        /** 
    940940                         * expression using operators 
     
    18921892     */ 
    18931893    interface Info(); 
     1894        /** 
     1895         * node introduced or eliminated after a compiler phase 
     1896         */ 
     1897        interface InOutPhases(); 
     1898            /** 
     1899             * introduced after the type checking phase 
     1900             */ 
     1901            interface InAfterTypeChecking(); 
     1902            /** 
     1903             * eliminated after the type checking phase 
     1904             */ 
     1905            interface OutAfterTypeChecking(); 
    18941906        /** 
    18951907         * functional declaration or function expression