parse

fun parse(code: CharSequence, errors: KotlinLightParser.LightTreeParsingErrorListener): FlyweightCapableTreeStructure<LighterASTNode>

Parse code into a light tree, reporting syntax errors to errors as KotlinLightParser would.