nextAndCheck(ctx, ';', true);
final Method mtd = Classes.getMethod(
((Other)t0).getValue(), name, adefs.length,
getFilename(), t0.getLine());
new FunctionDefinition(
ctx.block.owner, name, adefs, mtd, lineno);
return;
} else {
putback(t1);
final Expression expr = new Expression(t0.getLine());
//note: expr is NOT a child of any node but part of VariableDefinition below
parseExpression(ctx, expr, ';');
new FunctionDefinition(
ctx.block.owner, name, adefs, expr, lineno);
return;
}
} else if (symbol == '{') { //mixin
newBlock(ctx, new MixinDefinition(