parse

abstract fun parse(tokens: List<Token<out TTokenKind>>): TAstNode(source)

Parses a list of tokens into an AST node.

Return

The root node of the parsed AST.

Parameters

tokens

The list of tokens to parse.