Exemplo n.º 1
0
// PrettyString returns a pretty formatted representation of AST nodes.
func PrettyString(v interface{}) string { return strutil.PrettyString(v, "", "", printHooks) }
Exemplo n.º 2
0
Arquivo: global.go Projeto: cznic/xc
// String implements fmt.Stringer.
func (v Val) String() string { return strutil.PrettyString(v, "", "", PrintHooks) }
Exemplo n.º 3
0
Arquivo: lexer.go Projeto: cznic/xc
// String implements fmt.Stringer.
func (t Token) String() string { return strutil.PrettyString(t, "", "", PrintHooks) }