| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"go/constant" |
| 10 |
"go/token" |
| 11 |
"reflect" |
| 12 |
"text/tabwriter" |
| 13 |
) |
| 14 |
|
| 15 |
func init() { |
| 16 |
Symbols["text/tabwriter/tabwriter"] = map[string]reflect.Value{ |
| 17 |
|
| 18 |
"AlignRight": reflect.ValueOf(tabwriter.AlignRight), |
| 19 |
"Debug": reflect.ValueOf(tabwriter.Debug), |
| 20 |
"DiscardEmptyColumns": reflect.ValueOf(tabwriter.DiscardEmptyColumns), |
| 21 |
"Escape": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), |
| 22 |
"FilterHTML": reflect.ValueOf(tabwriter.FilterHTML), |
| 23 |
"NewWriter": reflect.ValueOf(tabwriter.NewWriter), |
| 24 |
"StripEscape": reflect.ValueOf(tabwriter.StripEscape), |
| 25 |
"TabIndent": reflect.ValueOf(tabwriter.TabIndent), |
| 26 |
|
| 27 |
|
| 28 |
"Writer": reflect.ValueOf((*tabwriter.Writer)(nil)), |
| 29 |
} |
| 30 |
} |