Crate full_moon[][src]

Expand description

Full Moon

full_moon is a lossless parser for Lua 5.1 Learn more by going to the repository

Modules

Utilities for ASTs (Abstract Syntax Trees). Contains all nodes used by Full Moon (such as blocks).

Contains the Node trait, implemented on all nodes

Used for tokenizing, the process of converting the code to individual tokens. Useful for getting symbols and manually tokenizing without going using an AST.

Used to create visitors that recurse through Ast nodes.

Structs

A string as used in TokenType.

Enums

An error type that consists of both AstError and TokenizerError Used by parse

Functions

Creates an Ast from Lua code

Prints back Lua code from an Ast