toggle menu
ktast
0.9.4
jvm
switch theme
search in API
ast-psi
/
ktast.ast.psi
/
Parser
Parser
open
class
Parser
(
converter
:
Converter
=
ConverterWithExtras()
)
Parses Kotlin source codes into PSI and converts it to AST.
Inheritors
Companion
Members
Constructors
Parser
Link copied to clipboard
constructor
(
converter
:
Converter
=
ConverterWithExtras()
)
Types
Companion
Link copied to clipboard
object
Companion
:
Parser
Parse
Error
Link copied to clipboard
data
class
ParseError
(
val
file
:
KtFile
,
val
errors
:
List
<
PsiErrorElement
>
)
:
IllegalArgumentException
Functions
parse
File
Link copied to clipboard
fun
parseFile
(
code
:
String
,
throwOnError
:
Boolean
=
true
)
:
Node.KotlinFile
Parses Kotlin source code into AST.