parseTypeDeclaration
Parses a type declaration and returns it as a TypeDeclaration.
Return
the AST for the type declaration
Parameters
typeDeclaration
a declaration like "class X {}"
Throws
if the source code has parser errors