| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"go/printer" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["go/printer/printer"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"Fprint": reflect.ValueOf(printer.Fprint), |
| 17 |
"RawFormat": reflect.ValueOf(printer.RawFormat), |
| 18 |
"SourcePos": reflect.ValueOf(printer.SourcePos), |
| 19 |
"TabIndent": reflect.ValueOf(printer.TabIndent), |
| 20 |
"UseSpaces": reflect.ValueOf(printer.UseSpaces), |
| 21 |
|
| 22 |
|
| 23 |
"CommentedNode": reflect.ValueOf((*printer.CommentedNode)(nil)), |
| 24 |
"Config": reflect.ValueOf((*printer.Config)(nil)), |
| 25 |
"Mode": reflect.ValueOf((*printer.Mode)(nil)), |
| 26 |
} |
| 27 |
} |