summaryrefslogtreecommitdiff
path: root/src/lib/json/parse.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
committerRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
commit4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch)
treef8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/json/parse.go
parent3986ef877ccd4db750b5050e318dff78f7e55d19 (diff)
downloadgolang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz
delete export
TBR=r OCL=23121 CL=23127
Diffstat (limited to 'src/lib/json/parse.go')
-rw-r--r--src/lib/json/parse.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/json/parse.go b/src/lib/json/parse.go
index e712655ad..13d345e5e 100644
--- a/src/lib/json/parse.go
+++ b/src/lib/json/parse.go
@@ -44,7 +44,7 @@ func _UnHex(p string, r, l int) (v int, ok bool) {
return v, true;
}
-export func Unquote(s string) (t string, ok bool) {
+func Unquote(s string) (t string, ok bool) {
if len(s) < 2 || s[0] != '"' || s[len(s)-1] != '"' {
return
}
@@ -117,7 +117,7 @@ export func Unquote(s string) (t string, ok bool) {
return string(b[0:w]), true
}
-export func Quote(s string) string {
+func Quote(s string) string {
chr := make([]byte, utf8.UTFMax);
chr0 := chr[0:1];
b := new(io.ByteBuffer);
@@ -272,7 +272,7 @@ func (t *_Lexer) Next() {
type _Value interface {}
-export type Builder interface {
+type Builder interface {
// Set value
Int64(i int64);
Uint64(i uint64);
@@ -386,7 +386,7 @@ Switch:
return ok;
}
-export func Parse(s string, build Builder) (ok bool, errindx int, errtok string) {
+func Parse(s string, build Builder) (ok bool, errindx int, errtok string) {
lex := new(_Lexer);
lex.s = s;
lex.Next();