Move parserFnT

This commit is contained in:
Florian Schroedl
2022-08-26 20:59:15 +02:00
parent 2721a242ce
commit 43ece69d2e
2 changed files with 2 additions and 4 deletions

View File

@@ -12,10 +12,6 @@ import fp/[
import ../utils/str
import ./parser_types
# -- Types
type parserFnT = proc(t0: Parser): ParserResult
# -- Utilities
proc isStreamCompleted*(parser: Parser): bool =

View File

@@ -44,6 +44,8 @@ type
parser*: Parser
ParserResult* = Result[Parser, ParserError]
type parserFnT* = proc(t0: Parser): ParserResult
# -- Initalizers
func initParserToken*(x: char): ParserToken =