UNPKG

@rightcapital/phpdoc-parser

Version:

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

14 lines (13 loc) 588 B
import type { ConstExprNode } from '../const-expr/const-expr-node'; import type { TypeNode } from '../type/type-node'; import { PhpDocTagValueNode } from './php-doc-tag-value-node'; export declare class MethodTagValueParameterNode extends PhpDocTagValueNode { type: TypeNode | null; isReference: boolean; isVariadic: boolean; parameterName: string; defaultValue?: ConstExprNode; constructor(type: TypeNode | null, isReference: boolean, isVariadic: boolean, parameterName: string, defaultValue?: ConstExprNode); toString(): string; getNodeType(): string; }