public type_node GetTypeNodeSpecials() { if (symbolInfo != null) return symbolInfo.First().sym_info as type_node; symbolInfo = cmn.scope.Find(name); return symbolInfo.First().sym_info as type_node; }
public bool Equal(TreeConverter.SymbolInfoList sil) { if (dnu == null) return notCreatedSymbolInfo.First() == sil.First(); else { foreach (var si in sil.list) if (notCreatedSymbolInfo.First().sym_info == si.sym_info) return true; foreach(var tmp_si in notCreatedSymbolInfo.list) if (tmp_si.sym_info == sil.First().sym_info) return true; return false; } }