}
throw error(kw+" not supported yet", kw);
}
private IfDefinition getLastIf(Context ctx, Keyword kw) {
final List<NodeInfo> children = ctx.block.owner.getChildren();
final NodeInfo node = children.isEmpty() ? null: children.get(children.size() - 1);
if (node instanceof IfDefinition)
return (IfDefinition)node;
throw error(kw+" must follow @if", kw);
}