summaryrefslogtreecommitdiff
path: root/combinator.go
diff options
context:
space:
mode:
Diffstat (limited to 'combinator.go')
-rw-r--r--combinator.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/combinator.go b/combinator.go
index 9cb661f..f55977c 100644
--- a/combinator.go
+++ b/combinator.go
@@ -4,7 +4,7 @@ import (
"bytes"
)
-// Seq matches all of the given parsers in order and returns their nodes as .Child[n]
+// Seq matches all of the given parsers in order and returns their result as .Child[n]
func Seq(parsers ...Parserish) Parser {
parserfied := ParsifyAll(parsers...)
@@ -35,7 +35,7 @@ func NoAutoWS(parser Parserish) Parser {
}
}
-// Any matches the first successful parser and returns its node
+// Any matches the first successful parser and returns its result
func Any(parsers ...Parserish) Parser {
parserfied := ParsifyAll(parsers...)