[][src]Crate luaparser

A parser that reads Lua 5.1 code and produces an abstract syntax tree (AST).

Modules

builders

Collection of traits used by the parser to create or interact with the abstract syntax tree nodes.

nodes

A collection of nodes that can be used to collect the abstract syntax tree data produced by the parser. These nodes are used by the parser within the parser_impl module.

parser_impl

A concrete parser implemented from the generic using the nodes within the luaparser::nodes module.

Enums

ParsingError

This enum represents the various errors that may happen while parsing tokens into an AST (abstract syntax tree).

Traits

FastParser

A trait that creates a parser from the given NodeTypes implementation.

NodeTypes

A trait that defines the different node types used by the parser.