Example #1
0
 public static JsonIr ToJSON(ENTITY e)
 {
     if (e == null)
     {
         return(JsonIr.GetIrNull());
     }
     return(e.ToJSON());
 }
Example #2
0
 public void add(ENTITY d)
 {
     loop_counter = d as VARIABLE; d.parent = this;
 }
Example #3
0
 public void add(ENTITY d)
 {
     parameters.Add(d /*as DECLARATION*/);
 }
Example #4
0
 public void add(ENTITY d)
 {
     declarations.Add(d as DECLARATION);
 }
Example #5
0
 public void add(ENTITY t)
 {
     generic_actuals.Add(t);
 }
Example #6
0
 public void add(ENTITY d)
 {
     body.Add(d);
 }
Example #7
0
 public void adde(ENTITY s)
 {
     else_part.Add(s);
 }
Example #8
0
 public void add(ENTITY d)
 {
     catchVar = d as VARIABLE;
 }
Example #9
0
 public void add(ENTITY e)
 {
     body.Add(e); e.parent = this;
 }
Example #10
0
        // public iSCOPE enclosing { get { return null; } set { } }

        public void add(ENTITY d)
        {
            units_and_standalones.Add(d as DECLARATION);
        }