Rename: parser to parser internals
This commit is contained in:
@@ -83,6 +83,7 @@ func str*(s: string): (Parser -> ParserResult) {.inline.} =
|
||||
p = p.flatMap(ch(c))
|
||||
return p
|
||||
|
||||
|
||||
proc endOfStream*(parser: Parser): ParserResult =
|
||||
let index = parser.state.position + 1
|
||||
if index == parser.state.stream.len:
|
||||
Reference in New Issue
Block a user