func go/ast.ParseDirective
6 uses
go/ast (current package)
directive.go#L56: func ParseDirective(pos token.Pos, c string) (Directive, bool) {
go/build
read.go#L417: dir, ok := ast.ParseDirective(pos, comment)
go.pact.im/x/plumb/internal/discover
discover.go#L45: d, ok := ast.ParseDirective(c.Slash, c.Text)
discover.go#L186: d, ok := ast.ParseDirective(c.Slash, c.Text)
discover.go#L353: if d, ok := ast.ParseDirective(c.Slash, c.Text); ok && d.Tool == "plumb" {
discover.go#L614: if d, ok := ast.ParseDirective(c.Slash, c.Text); ok && d.Tool == "plumb" {