func (s *SpecInfoGatherer) getParsedSpecs(specFiles []string) []*parser.Specification { if s.conceptDictionary == nil { s.conceptDictionary = parser.NewConceptDictionary() } parsedSpecs, parseResults := parser.ParseSpecFiles(specFiles, s.conceptDictionary) s.handleParseFailures(parseResults) return parsedSpecs }
func (specInfoGatherer *SpecInfoGatherer) getDictionary() *parser.ConceptDictionary { if specInfoGatherer.conceptDictionary == nil { specInfoGatherer.conceptDictionary = parser.NewConceptDictionary() } return specInfoGatherer.conceptDictionary }