Exemple #1
0
 public CIL_FunctionDef(string name, CIL_Params param, CIL_Params local, CIL_StamentList corpus) : base(new CIL_AST_Node[] { param, local, corpus })
 {
     Name   = name;
     Params = param;
     Locals = local;
     Corpus = corpus;
 }
Exemple #2
0
 public CIL_FunctionCall(string name, CIL_Params param, string typecall, string result, bool is_type_dir, string static_type) : base(new CIL_AST_Node[] { param })
 {
     Name        = name;
     Params      = param;
     TypeCall    = typecall;
     Result      = result;
     Is_Type_Dir = is_type_dir;
     Static_Type = static_type;
 }