Parser

open class Parser(converter: Converter = ConverterWithExtras())

Parses Kotlin source codes into PSI and converts it to AST.

Inheritors

Constructors

Link copied to clipboard
constructor(converter: Converter = ConverterWithExtras())

Types

Link copied to clipboard
object Companion : Parser
Link copied to clipboard
data class ParseError(val file: KtFile, val errors: List<PsiErrorElement>) : IllegalArgumentException

Functions

Link copied to clipboard
fun parseFile(code: String, throwOnError: Boolean = true): Node.KotlinFile

Parses Kotlin source code into AST.