summaryrefslogtreecommitdiff
path: root/result.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2019-11-28 15:43:52 +0100
committerÖzgür Kesim <oec@codeblau.de>2019-11-28 15:43:52 +0100
commit5173c86ded407b4990903e275be1f286345006ec (patch)
tree334a37efdec34392bc170669762e330a580dbf19 /result.go
parent29336c8a7a98087bc83ef39d352282bc92b1b3c5 (diff)
remember input string in result
Diffstat (limited to 'result.go')
-rw-r--r--result.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/result.go b/result.go
index 6f0f819..13e2cd5 100644
--- a/result.go
+++ b/result.go
@@ -15,6 +15,7 @@ type Result struct {
Token string
Child []Result
Result interface{}
+ Input string
Start int
End int
}