func isSpace(c rune) bool { … } func isQuoted(s string) bool { … } const funcPragmas … func pragmaFlag(verb string) ir.PragmaFlag { … } // pragcgo is called concurrently if files are parsed concurrently. func (p *noder) pragcgo(pos syntax.Pos, text string) { … } // pragmaFields is similar to strings.FieldsFunc(s, isSpace) // but does not split when inside double quoted regions and always // splits before the start and after the end of a double quoted region. // pragmaFields does not recognize escaped quotes. If a quote in s is not // closed the part after the opening quote will not be returned as a field. func pragmaFields(s string) []string { … }