@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
11 lines (10 loc) • 334 B
TypeScript
import type { Node } from './node';
export declare abstract class BaseNode implements Node {
private attributes;
setAttribute(key: string, value: unknown): void;
hasAttribute(key: string): boolean;
getAttribute(key: string): unknown;
toString(): string;
toJSON(): object;
abstract getNodeType(): string;
}