public static JsonIr ToJSON(ENTITY e) { if (e == null) { return(JsonIr.GetIrNull()); } return(e.ToJSON()); }
public void add(ENTITY d) { loop_counter = d as VARIABLE; d.parent = this; }
public void add(ENTITY d) { parameters.Add(d /*as DECLARATION*/); }
public void add(ENTITY d) { declarations.Add(d as DECLARATION); }
public void add(ENTITY t) { generic_actuals.Add(t); }
public void add(ENTITY d) { body.Add(d); }
public void adde(ENTITY s) { else_part.Add(s); }
public void add(ENTITY d) { catchVar = d as VARIABLE; }
public void add(ENTITY e) { body.Add(e); e.parent = this; }
// public iSCOPE enclosing { get { return null; } set { } } public void add(ENTITY d) { units_and_standalones.Add(d as DECLARATION); }