parseTypeDeclaration
open fun parseTypeDeclaration(typeDeclaration: String): ParseResult<TypeDeclaration<out Any>>(source)
Parses a type declaration and returns it as a TypeDeclaration.
Return
the AST for the type declaration
Parameters
typeDeclaration
a declaration like "class X {}"