We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58271e2 commit fefeb92Copy full SHA for fefeb92
1 file changed
core/src/commonTest/kotlin/org/kobjects/parserlib/tokenizer/ScannerTest.kt
@@ -36,10 +36,10 @@ class ScannerTest {
36
return Scanner(
37
Lexer(
38
input,
39
- RegularExpressions.WHITESPACE to null, // Don't report
40
- RegularExpressions.SYMBOL to TokenType.SYMBOL,
41
- RegularExpressions.IDENTIFIER to TokenType.IDENTIFIER,
42
- RegularExpressions.NUMBER to TokenType.NUMBER
+ RegularExpressions.WHITESPACE to { null }, // Don't report
+ RegularExpressions.SYMBOL to { TokenType.SYMBOL },
+ RegularExpressions.IDENTIFIER to { TokenType.IDENTIFIER },
+ RegularExpressions.NUMBER to { TokenType.NUMBER }
43
),
44
null)
45
}
0 commit comments