[][src]Crate full_moon

Full Moon

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

Modules

ast

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

node

Contains the Node trait, implemented on all nodes

tokenizer

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

visitors

Used to create visitors that recurse through Ast nodes.

Enums

Error

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

Functions

parse

Creates an Ast from Lua code

print

Prints back Lua code from an Ast