UNPKG

bramble-parser

Version:

Bramble is a lightweight recursive descent parser that processes .havenfs files, returning a structured Json tree that can be used to construct an in-memory FS representation. The parser is based on line-based grammar, chunk headers, and metadata declarat

10 lines (7 loc) 167 B
export abstract class BaseParser { entries: ILexerToken[][]; constructor(entries: ILexerToken[][]) { this.entries = entries; } abstract parse(): void; }