use of org.elasticsearch.painless.node.ENewObj in project elasticsearch by elastic.
the class Walker method visitNewobject.
@Override
public ANode visitNewobject(NewobjectContext ctx) {
String type = ctx.TYPE().getText();
List<AExpression> arguments = collectArguments(ctx.arguments());
return new ENewObj(location(ctx), type, arguments);
}
Aggregations