summaryrefslogtreecommitdiff
path: root/parser.go
diff options
context:
space:
mode:
authorAdam Scarr <adam@vektah.net>2017-08-08 23:11:47 +1000
committerAdam Scarr <adam@vektah.net>2017-08-08 23:11:47 +1000
commitacd48fdfa4653dbeffd41f6b773ae4552e6c55bc (patch)
treec65e965b0bf88ccd28f657f11c36b7e73d3eaea2 /parser.go
parentef04f70d750e8e447e096ac7ffb49d8831008a9c (diff)
Add readme and calc example
Diffstat (limited to 'parser.go')
-rw-r--r--parser.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser.go b/parser.go
index d7daaf6..35c772b 100644
--- a/parser.go
+++ b/parser.go
@@ -7,9 +7,9 @@ import (
)
type Node struct {
- Token string
- Children []Node
- Result interface{}
+ Token string
+ Child []Node
+ Result interface{}
}
type Parser func(*State) Node