UNPKG

@rightcapital/php-parser

Version:

TypeScript types for PHP Parser JSON representation

12 lines (11 loc) 496 B
import type { NodeAbstract } from '../node'; import type { NodeTypeInheritingFromFullyQualifiedIdentifier } from "../types"; import type { NodeTypeInheritingFromFullyQualifiedExpr } from "../types"; export interface Arg extends Omit<NodeAbstract, 'nodeType'> { nodeType: 'Arg'; ["name"]: NodeTypeInheritingFromFullyQualifiedIdentifier | null; ["value"]: NodeTypeInheritingFromFullyQualifiedExpr; ["byRef"]: boolean; ["unpack"]: boolean; } export type FullyQualifiedArg = Arg;