/// <summary> /// Merge new semantic types with existing ones. /// </summary> public void Parse(List <SemanticTypeDecl> decls, List <SemanticTypeStruct> structs) { Dictionary <string, ISemanticType> stDict = Parser.BuildSemanticTypes(decls, structs); SemanticTypes = SemanticTypes.MergeNonDuplicates(stDict); }