@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
12 lines (11 loc) • 402 B
TypeScript
import { TypeNode } from './type-node';
export declare class CallableTypeParameterNode extends TypeNode {
type: TypeNode;
isReference: boolean;
isVariadic: boolean;
parameterName: string;
isOptional: boolean;
constructor(type: TypeNode, isReference: boolean, isVariadic: boolean, parameterName: string, isOptional: boolean);
toString(): string;
getNodeType(): string;
}