Search in sources :

Example 1 with ECallLocal

use of org.elasticsearch.painless.node.ECallLocal in project elasticsearch by elastic.

the class Walker method visitCalllocal.

@Override
public ANode visitCalllocal(CalllocalContext ctx) {
    String name = ctx.ID().getText();
    List<AExpression> arguments = collectArguments(ctx.arguments());
    return new ECallLocal(location(ctx), name, arguments);
}
Also used : AExpression(org.elasticsearch.painless.node.AExpression) EString(org.elasticsearch.painless.node.EString) ECallLocal(org.elasticsearch.painless.node.ECallLocal)

Aggregations

AExpression (org.elasticsearch.painless.node.AExpression)1 ECallLocal (org.elasticsearch.painless.node.ECallLocal)1 EString (org.elasticsearch.painless.node.EString)1