| 1 | // Code generated by 'yaegi extract go/parser'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "go/parser" |
| 10 | "reflect" |
| 11 | ) |
| 12 | |
| 13 | func init() { |
| 14 | Symbols["go/parser/parser"] = map[string]reflect.Value{ |
| 15 | // function, constant and variable definitions |
| 16 | "AllErrors": reflect.ValueOf(parser.AllErrors), |
| 17 | "DeclarationErrors": reflect.ValueOf(parser.DeclarationErrors), |
| 18 | "ImportsOnly": reflect.ValueOf(parser.ImportsOnly), |
| 19 | "PackageClauseOnly": reflect.ValueOf(parser.PackageClauseOnly), |
| 20 | "ParseComments": reflect.ValueOf(parser.ParseComments), |
| 21 | "ParseDir": reflect.ValueOf(parser.ParseDir), |
| 22 | "ParseExpr": reflect.ValueOf(parser.ParseExpr), |
| 23 | "ParseExprFrom": reflect.ValueOf(parser.ParseExprFrom), |
| 24 | "ParseFile": reflect.ValueOf(parser.ParseFile), |
| 25 | "SkipObjectResolution": reflect.ValueOf(parser.SkipObjectResolution), |
| 26 | "SpuriousErrors": reflect.ValueOf(parser.SpuriousErrors), |
| 27 | "Trace": reflect.ValueOf(parser.Trace), |
| 28 | |
| 29 | // type definitions |
| 30 | "Mode": reflect.ValueOf((*parser.Mode)(nil)), |
| 31 | } |
| 32 | } |