Ignore:
Timestamp:
Apr 17, 2008, 9:09:37 PM (13 years ago)
Author:
yura
Message:
  • Static function Expr.create(Comparable) instead of constructor.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/compiler/refal/org/refal/plus/compiler/rfp_asail_java.rf

    r3728 r3731  
    252252      e.refalDecl
    253253      ('static '<Access_Mode s.linkage>' final Expr '<Name_To_Java t.name>
    254       ' = new Expr (Symbol.new'e.class_name' ("'s.n'"));');
     254      ' = Expr.create (Symbol.new'e.class_name' ("'s.n'"));');
    255255    ("DECL-OBJ" t.name) = ;
    256256    ("DECL-FUNC" t.name) = ;
     
    296296  /*empty*/ = 'Expr.empty';
    297297  (PAREN e.expr) =
    298     'new Expr ((Comparable<?>) '<Expr_Ref_To_Java e.expr>')';
     298    'Expr.create ('<Expr_Ref_To_Java e.expr>')';
    299299  term =
    300300    <Term_Ref_To_Java term> :: (e.term),
     
    396396          'Symbol.new' e;
    397397        } =
    398           'new Expr ('e1')';
     398          'Expr.create ('e1')';
    399399        e1;
    400400      };
Note: See TracChangeset for help on using the changeset viewer.