source: to-imperative/trunk/compiler/rfp_vars.rfi @ 2043

Last change on this file since 2043 was 2043, checked in by orlov, 14 years ago
  • Improved block extraction from result expressions.
  • Use asail2asail when converting to C++.
  • Remove duplicate declarations after cleanup of blocks

(rfp_asail2asail.Remove-Dupl-Decl).

  • Proper generation of debug info for $iter.
  • Fixed pragma-generation when comments are used.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 832 bytes
Line 
1// $Source$
2// $Revision: 2043 $
3// $Date: 2006-08-01 17:25:13 +0000 (Tue, 01 Aug 2006) $
4
5$func? Var? expr = ;
6$func Set-Var e.info t.var = ;
7$func? Get-Var t.key e.var = e.val;
8
9$func Vars-Copy-State = t.vars;
10$func Vars-Set-State t.vars = ;
11
12$func Init-Vars = ;
13
14//! $func New-Vars e = ;
15$func Vars-Print e = e;
16$func Vars-Decl s.type e = e;
17
18$func Vars-Reset e.vars = ;
19
20$func Gener-Len-Var e.var = t.len-var;
21
22$func Create-Int-Var (e.prefix) t.var e.expr = t.int-var e.int-assign;
23
24$func Vars e.expr = e.vars;
25
26$func Gener-Vars (e.format) e.prefix = e.Re;
27
28$func Gener-Err-Var = t.var;
29
30$func Gener-Subst-Vars (e.format) e.prefix = e.Re;
31
32$func? Substitutable-Var? e.Re = ;
33
34$func Gener-Var-Assign t.var e.generated-var = ;
35
36$func Gener-Var-Names e.expr-with-unspecified-var-names = e.expr-with-resolved-var-names;
37
38$func Gener-Var-Indices s.num (e.Format) e.prefix = e.Re s.max;
39
Note: See TracBrowser for help on using the repository browser.