public bool DefineStruct(StructElement data) { Structs.Add(data); return(true); }
public bool DefineStructInstance(string varname, string type) { StructElement se = GetStruct(type); if (se != null && !DeclaredStructVars.ContainsKey(varname)) { DeclaredStructVars.Add(varname, se); return(true); } else { return(false); } }