Smallville7123
03/30/2019, 11:28 PMLine 12: val tokens = tokenizeKotlinCode("val x = foo() + 10;")
^ Unresolved reference: tokenizeKotlinCode
repositories {
flatDir {
dirs "../kpp/libs"
}
}
dependencies {
implementation name: 'kotlin-grammar-tools-0.1'
}
as i am trying to obtain an AST of kotlin code for analysis rather than trying to make my own kotlin lexer/parser that probably does not detect all code cases