| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 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 |
|
| 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 |
|
| 30 |
"Mode": reflect.ValueOf((*parser.Mode)(nil)), |
| 31 |
} |
| 32 |
} |