"Fossies" - the Fresh Open Source Software Archive

Member "erltools/pub/metachop/decmetac.h" (22 Feb 2000, 820 Bytes) of package /linux/misc/old/erltools-4.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "decmetac.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef INCLUDE_DECMETACHOP
    2 #define INCLUDE_DECMETACHOP 
    3 #include "metachop.h"
    4 #include "intchop.h"
    5 #include "../chopb/decchopb.h"
    6 
    7 class DecompMetachop : public DecompChopb {
    8     
    9 public :
   10 
   11     DecompMetachop () {inhibateComment=1;}
   12     virtual ~DecompMetachop () {}
   13     
   14     static DecompMetachop   *ptDecomp ;
   15     virtual PTREE   IntDecomp (const PTREE &, int = 0) ;
   16     void    DecompStat (PTREE, int) ;
   17     void    lstat_dec1 (PTREE) ;
   18     
   19     virtual void    copy (void) ;
   20     virtual void    ChopTree (PTREE, int = 0) ;
   21     virtual PTREE   DecompFunction (PTREE tree, int funcAlone) ;
   22 };
   23 extern "C" {
   24     inline void decomp_metachop ( PTREE tree )
   25     {
   26         
   27         // call cplus since treatment of commentaries is  
   28         // only done there 
   29         DecompCplus::ptDecomp -> Decomp(tree);
   30     }
   31 }
   32 #endif