From 893b0abfa8716a8982092e67a800aa9e7a3ef16b Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Mon, 17 Jan 2022 13:21:08 +0000 Subject: [PATCH] Include singleton types (string/boolean) --- docs/_pages/grammar.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/_pages/grammar.md b/docs/_pages/grammar.md index 22b078a1..c369eda9 100644 --- a/docs/_pages/grammar.md +++ b/docs/_pages/grammar.md @@ -60,6 +60,9 @@ unop = '-' | 'not' | '#' SimpleType = 'nil' | + STRING | + 'true' | + 'false' | NAME ['.' NAME] [ '<' TypeList '>' ] | 'typeof' '(' exp ')' | TableType |