"Fossies" - the Fresh Open Source Software Archive

Member "erltools/pub/java/decjava.h" (30 Oct 2004, 1426 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 "decjava.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef INCLUDE_DECISL
    2 #define INCLUDE_DECISL 
    3 #include "deccplus.h"
    4 
    5 class DecompJava : public DecompCplus {
    6     
    7     public :
    8     
    9         DecompJava () {}
   10         
   11         virtual ~DecompJava () {}
   12         
   13         static DecompJava    *ptDecomp ;
   14         virtual void        FrameContent (PTREE) ;
   15         virtual PTREE       IntDecomp (const PTREE &, int = 0) ;
   16         virtual int         Sequence (PTREE, PTREE) ;
   17         virtual void        control_stat1 (PTREE paramTree) ;
   18         virtual int         OpTypeAlign (PTREE tree) ;
   19         virtual int         OpType (PTREE tree) ;
   20         virtual int         IsTop (PTREE tree, int internal = 0) ;
   21         virtual void        TraiterSequence (PTREE) ;
   22         virtual void        ChopTree (PTREE, int = 0) ;
   23         virtual void        copy (void) ;
   24         virtual int         OpAssociativity (PTREE tree) ;
   25         virtual int         OpPriority (PTREE tree) ;
   26         virtual int         IsTopInstr (PTREE tree) ;
   27         
   28         // DecompSimpleSyntax : decompilation of a simple syntax
   29         // parameters :
   30         //              syntax : the syntax to be decompiled
   31         void                DecompSimpleSyntax (const PTREE &syntax) ;
   32 };
   33 extern "C" {
   34     inline void decomp_java ( PTREE tree )
   35     {
   36         
   37         // call cplus since treatment of commentaries is  
   38         // only done there 
   39         DecompJava::ptDecomp -> Decomp(tree);
   40     }
   41 }
   42 #endif