Skip to main content

Module parser

Module parser 

Source

Structs§

Parser

Functions§

parse_program
Parse a program, returning statements and any errors encountered. Uses error recovery to report multiple errors when possible.
parse_program_strict
Parse a program without error recovery (stops at first error). Useful for cases where partial parsing is not desired.