Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
616 B · 24 lines
TypeScript
12345678910111213141516171819202122232425import type { PyNodeBase } from '../base';import type { PyExpression } from '../expression';import { PyNodeKind } from '../kinds';
export interface PyCallExpression extends PyNodeBase { args: ReadonlyArray<PyExpression>; callee: PyExpression; kind: PyNodeKind.CallExpression;}
export function createCallExpression( callee: PyExpression, args: ReadonlyArray<PyExpression>, leadingComments?: ReadonlyArray<string>, trailingComments?: ReadonlyArray<string>,): PyCallExpression { return { args, callee, kind: PyNodeKind.CallExpression, leadingComments, trailingComments, };}