go/parser.parser.mode (field)
9 uses
go/parser (current package)
parser.go#L36: mode Mode // parsing mode
parser.go#L82: p.mode = mode
parser.go#L110: if ident.Obj == nil && p.mode&DeclarationErrors != 0 {
parser.go#L129: if alt := scope.Insert(obj); alt != nil && p.mode&DeclarationErrors != 0 {
parser.go#L163: if n == 0 && p.mode&DeclarationErrors != 0 {
parser.go#L360: if p.mode&AllErrors == 0 {
parser.go#L2538: if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
parser.go#L2552: if p.mode&PackageClauseOnly == 0 {
parser.go#L2558: if p.mode&ImportsOnly == 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |