UNPKG

@rightcapital/php-parser

Version:

TypeScript types for PHP Parser JSON representation

10 lines (9 loc) 451 B
import type { NodeAbstract } from '../node'; import type { NodeTypeInheritingFromFullyQualifiedName } from "../types"; import type { NodeTypeInheritingFromFullyQualifiedArg } from "../types"; export interface Attribute extends Omit<NodeAbstract, 'nodeType'> { nodeType: 'Attribute'; ["name"]: NodeTypeInheritingFromFullyQualifiedName; ["args"]: NodeTypeInheritingFromFullyQualifiedArg[]; } export type FullyQualifiedAttribute = Attribute;