Parser

class Parser(tokens: List<Token>, source: CodeSource)

The Metis parser.

Parameters

tokens

The list of Tokens to parse.

source

The CodeSource of the tokens.

Constructors

Link copied to clipboard
constructor(tokens: List<Token>, source: CodeSource)

Functions

Link copied to clipboard

Parses the tokens into an AST.