Module phile::parser [] [src]

This module provides a function, parse(), for building an Abstract Syntax Tree out of a flat sequence of Tokens, itself generated by the lexer module. The module depends on the ast module for providing the emitted node types.

Functions

parse

Given an array of tokens, parses the token sequence, and returns the corresponding AST.