From 0627e0ac4bd237f0d7d256f1cfe863440b318f55 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 15 Aug 2019 00:25:25 +0200 Subject: Added documentation --- src/runMain/kotlin/Lexical.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runMain/kotlin/Lexical.kt') diff --git a/src/runMain/kotlin/Lexical.kt b/src/runMain/kotlin/Lexical.kt index 459927c..2910bca 100644 --- a/src/runMain/kotlin/Lexical.kt +++ b/src/runMain/kotlin/Lexical.kt @@ -1,6 +1,9 @@ import exceptions.* class Lexical { + /** + * Analyzes the given [source] and returns the tokens divided into an array of statements + */ fun analyze(source: String): MutableList>> { var buffer = "" var skipStatementEnd = false -- cgit v1.2.3