diff options
author | Marvin Borner | 2019-08-15 19:49:48 +0200 |
---|---|---|
committer | Marvin Borner | 2019-08-15 19:49:48 +0200 |
commit | 49db23f1c8c3bf6c858eb75b70f9ffd0a839fb3c (patch) | |
tree | 0c621eb66b2a4ea57b858e866764754fb7028579 /src/runMain/kotlin/Token.kt | |
parent | bdfbbaca6ed7fb4616a312bbb9de320101311ff8 (diff) |
Abstracted pair to token class
Diffstat (limited to 'src/runMain/kotlin/Token.kt')
-rw-r--r-- | src/runMain/kotlin/Token.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runMain/kotlin/Token.kt b/src/runMain/kotlin/Token.kt new file mode 100644 index 0000000..9b7e622 --- /dev/null +++ b/src/runMain/kotlin/Token.kt @@ -0,0 +1,5 @@ +class Token { + lateinit var content: String + lateinit var type: TokenType + var lineNumber: kotlin.Int = 0 +} |