Use func
This commit is contained in:
@@ -72,7 +72,7 @@ proc initBuilder*[T](t: Builder[T], parser: Parser, tree: seq[T]): Builder[T] =
|
|||||||
|
|
||||||
# -- Getters
|
# -- Getters
|
||||||
|
|
||||||
proc tokenStringValue*(x: ParserToken): string =
|
func tokenStringValue*(x: ParserToken): string =
|
||||||
## Get the Token value `x` as a string.
|
## Get the Token value `x` as a string.
|
||||||
case x.kind:
|
case x.kind:
|
||||||
of parserTokenChar:
|
of parserTokenChar:
|
||||||
|
|||||||
Reference in New Issue
Block a user