Skip to content

Commit 6eea402

Browse files
committed
fix(README): add "Variable" node type to AST node spec
1 parent b26cb22 commit 6eea402

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ The parser generates a tree of nodes. Here is the specification for each node ty
106106
<summary>Click to expand AST Specification</summary>
107107

108108
#### **Literals & Identifiers**
109+
* `{ TYPE = "Variable", Name = <string>, VariableType = <"Local" | "Global" | "Upvalue"> }`
109110
* `{ TYPE = "StringLiteral", Value = <string> }`
110111
* `{ TYPE = "NumericLiteral", Value = <number> }`
111112
* `{ TYPE = "BooleanLiteral", Value = <bool> }`

0 commit comments

Comments
 (0)