UNPKG

@rightcapital/phpdoc-parser

Version:

TypeScript version of PHPDoc parser with support for intersection types and generics

16 lines (15 loc) 776 B
import type { TypeNode } from '../type/type-node'; import type { MethodTagValueParameterNode } from './method-tag-value-parameter-node'; import { PhpDocTagValueNode } from './php-doc-tag-value-node'; import type { TemplateTagValueNode } from './template-tag-value-node'; export declare class MethodTagValueNode extends PhpDocTagValueNode { isStatic: boolean; returnType: TypeNode | null; methodName: string; parameters: MethodTagValueParameterNode[]; description: string; templateTypes: TemplateTagValueNode[]; constructor(isStatic: boolean, returnType: TypeNode | null, methodName: string, parameters: MethodTagValueParameterNode[], description: string, templateTypes: TemplateTagValueNode[]); toString(): string; getNodeType(): string; }