use of dyvilx.tools.compiler.ast.expression.access.ClassConstructorCall in project Dyvil by Dyvil.
the class ConstructorCallParser method parseBody.
/**
* Creates the body and initializes parsing for anonymous classes.
*
* @param pm
* the current parsing context manager.
*/
private void parseBody(IParserManager pm) {
final ClassConstructorCall classConstructorCall = this.call.toClassConstructor();
this.call = classConstructorCall;
final IClass nestedClass = classConstructorCall.getNestedClass();
final ClassBody body = nestedClass.getBody();
pm.pushParser(new ClassBodyParser(body), true);
this.mode = ANONYMOUS_CLASS_END;
}
Aggregations