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 {