Skip to content

FunctionCallExpression

A Python function call expression.

import { FunctionCallExpression } from "@alloy-js/python";
<FunctionCallExpression args={Children[]} target={Children} />
argsoptionalChildren[]
targetChildren
<FunctionCallExpression target="foo" args={["arg1", "arg2"]} />

This will generate:

foo(arg1, arg2)