コード例 #1
0
ファイル: specDetails.go プロジェクト: krwhitney/gauge
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
}
コード例 #2
0
ファイル: specDetails.go プロジェクト: christophermoura/gauge
func (specInfoGatherer *SpecInfoGatherer) getDictionary() *parser.ConceptDictionary {
	if specInfoGatherer.conceptDictionary == nil {
		specInfoGatherer.conceptDictionary = parser.NewConceptDictionary()
	}
	return specInfoGatherer.conceptDictionary
}