From c69a352e51c3e6e3f5815762f476d63c989d69da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Mon, 2 Oct 2023 02:46:30 +0200 Subject: [PATCH] Add keyword tokens --- .../scala/playground/smithyql/parser/v2/scanner.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala b/modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala index c19931dc..58cfac48 100644 --- a/modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala +++ b/modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala @@ -23,7 +23,13 @@ sealed trait TokenKind extends Product with Serializable { } object TokenKind { - // case object KW_IMPORT extends TokenKind + case object KW_USE extends TokenKind + case object KW_SERVICE extends TokenKind + case object KW_BOOLEAN extends TokenKind + case object KW_NUMBER extends TokenKind + case object KW_STRING extends TokenKind + case object KW_NULL extends TokenKind + case object DOT extends TokenKind case object COMMA extends TokenKind case object HASH extends TokenKind