aboutsummaryrefslogtreecommitdiff
path: root/src/runMain/kotlin/Syntax.kt
diff options
context:
space:
mode:
authorMarvin Borner2019-08-14 22:45:30 +0200
committerMarvin Borner2019-08-14 22:45:30 +0200
commitab91d3b7e92ab42c1b4c449797fee672bd5e2859 (patch)
tree461d0482c6b70cb425edc629797244d57ab8012f /src/runMain/kotlin/Syntax.kt
parent938f655b120efd01a0fbdd5c3fde7dbc1b53d267 (diff)
Re-added files
Diffstat (limited to 'src/runMain/kotlin/Syntax.kt')
-rw-r--r--src/runMain/kotlin/Syntax.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runMain/kotlin/Syntax.kt b/src/runMain/kotlin/Syntax.kt
new file mode 100644
index 0000000..3b8cfc8
--- /dev/null
+++ b/src/runMain/kotlin/Syntax.kt
@@ -0,0 +1,8 @@
+class Syntax {
+ fun check(tokens: MutableList<Pair<String, TokenType>>): Boolean {
+ for (token in tokens) {
+ print(token)
+ }
+ return true
+ }
+} \ No newline at end of file