home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #4 / amigaacscoverdisc1998-041998.iso / utilities / shareware / dev / ppcsmalleiffel / lib_se / call_1_c.e < prev    next >
Encoding:
Text File  |  1998-01-16  |  2.0 KB  |  79 lines

  1. --          This file is part of SmallEiffel The GNU Eiffel Compiler.
  2. --          Copyright (C) 1994-98 LORIA - UHP - CRIN - INRIA - FRANCE
  3. --            Dominique COLNET and Suzanne COLLIN - colnet@loria.fr 
  4. --                       http://www.loria.fr/SmallEiffel
  5. -- SmallEiffel is  free  software;  you can  redistribute it and/or modify it 
  6. -- under the terms of the GNU General Public License as published by the Free
  7. -- Software  Foundation;  either  version  2, or (at your option)  any  later 
  8. -- version. SmallEiffel is distributed in the hope that it will be useful,but
  9. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. -- or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU General Public License 
  11. -- for  more  details.  You  should  have  received a copy of the GNU General 
  12. -- Public  License  along  with  SmallEiffel;  see the file COPYING.  If not,
  13. -- write to the  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  14. -- Boston, MA 02111-1307, USA.
  15. --
  16. class CALL_1_C
  17.    -- Other call with only one argument.
  18.  
  19. inherit CALL_1;
  20.  
  21. creation make
  22.  
  23. feature
  24.  
  25.    short is
  26.       do
  27.      target.short_target;
  28.      feature_name.short;
  29.      arg1.bracketed_short;
  30.       end;
  31.      
  32.    short_target is
  33.       do
  34.      short;
  35.      short_print.a_dot;
  36.       end;
  37.  
  38.    bracketed_pretty_print, pretty_print is
  39.       do
  40.      target.print_as_target;
  41.      fmt.put_string(feature_name.to_string);
  42.      fmt.put_character('(');
  43.      arg1.pretty_print;
  44.      fmt.put_character(')');
  45.       end;
  46.  
  47.    is_static: BOOLEAN is
  48.       do
  49.      Result := call_is_static;
  50.       end;
  51.  
  52.    isa_dca_inline_argument: INTEGER is
  53.       -- *** A FAIRE ??? ***
  54.       do
  55.       end;
  56.  
  57.    dca_inline_argument(formal_arg_type: TYPE) is
  58.      -- *** FAIRE ***
  59.       do
  60.       end;
  61.  
  62.    compile_to_jvm is
  63.       do
  64.      call_proc_call_c2jvm;
  65.       end;
  66.    
  67.    jvm_branch_if_false: INTEGER is
  68.       do
  69.      Result := jvm_standard_branch_if_false;
  70.       end;
  71.    
  72.    jvm_branch_if_true: INTEGER is
  73.       do
  74.      Result := jvm_standard_branch_if_true;
  75.       end;
  76.    
  77. end -- CALL_1_C
  78.  
  79.