public TypeDeclNode loadTypeDecl(string path) { string tname = oilcan.getStringValue(path, ""); TypeDeclNode tnode = new TypeDeclNode(tname); return(tnode); }
public VarDeclNode() { type = OILType.VarDecl; name = ""; varType = null; initializer = null; }
public FuncDefNode() { type = OILType.FuncDecl; name = ""; returnType = null; paramList = new List <ParamDeclNode>(); isVaradic = false; locals = new List <VarDeclNode>(); body = null; isInline = false; }
public void saveTypeDecl(string path, TypeDeclNode typdef) { oilcan.setStringValue(path, typdef.name); }
public ParamDeclNode() { type = OILType.ParamDecl; name = ""; pType = null; }