@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
17 lines (16 loc) • 676 B
TypeScript
export declare class ParserException extends Error {
private currentTokenValue;
private currentTokenType;
private currentOffset;
private expectedTokenType;
private expectedTokenValue;
private currentTokenLine;
constructor(currentTokenValue: string, currentTokenType: string, currentOffset: number, expectedTokenType: string, expectedTokenValue?: string | null, currentTokenLine?: number | null);
getCurrentTokenValue(): string;
getCurrentTokenType(): string;
getCurrentOffset(): number;
getExpectedTokenType(): string;
getExpectedTokenValue(): string | null;
getCurrentTokenLine(): number | null;
private formatValue;
}