aboutsummaryrefslogtreecommitdiff
path: root/src/Syntax.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Syntax.kt')
-rw-r--r--src/Syntax.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Syntax.kt b/src/Syntax.kt
new file mode 100644
index 0000000..7d7ab9d
--- /dev/null
+++ b/src/Syntax.kt
@@ -0,0 +1,7 @@
+class Syntax {
+ fun check(tokens: MutableList<Pair<String, TokenType>>) {
+ for (token in tokens) {
+ print(token)
+ }
+ }
+} \ No newline at end of file