Crate parser[][src]

Macros

T

A helper macro to get the SyntaxKind

TS

Structs

LexError
LexErrorMsg
Token

A lua token

TokenSet

A bit-set of SyntaxKinds

Enums

Event

TODO: add node error event

LuaOp
ParseError
SyntaxKind

The kind of syntax node, e.g. Ident, UseKw, or Struct.

Traits

TokenSource
TreeSink

TreeSink abstracts details of a particular syntax tree implementation.

Functions

first_token
parse

Parse given tokens into the given sink as a rust file.

tokenize
tokenize_iter