All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax0.jamal.prog.analyzer.FunctionCall Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package javax0.jamal.prog.analyzer;

import javax0.jamal.api.BadSyntax;
import javax0.jamal.prog.commands.Expression;

public class FunctionCall {
    public static Expression analyze(Lex lex, Lex.List lexes) throws BadSyntax {
        final var function = lex.text;
        final var arguments = MethodCall.analyzeArguments(lexes);
        return new javax0.jamal.prog.commands.FunctionCall(function, arguments.toArray(Expression[]::new));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy