lecs
/
lecs.parser
/
ParserKt
Parser
Kt
public final class
ParserKt
Content copied to clipboard
Functions
Functions
parse
Link copied to clipboard
final
Either
<
ParseError
,
List
<
LecsNode
>>
parse
(
List
<
Token
>
tokens
)
Content copied to clipboard
Generates a parse tree represented by a
List
of
LecsNode
from a
List
of
Token
or returns a
ParseError
documenting the first parse error encountered when iterating the
List
of
Token
.