import { Terminal } from "../parser/GrammarSymbol"; import Production from "./Production"; import StateItem from "./StateItem"; export default class State { static closureMap: Map; static pool: Map; static _id: number; readonly id: number; readonly cores: Set; private _items; get items(): Set; closured: boolean; get needReInfer(): boolean; private _stateItemPool; static create(cores: StateItem[]): State; static getMapKey(cores: StateItem[]): string; private constructor(); getStateItemMapKey(production: Production, position: number): string; createStateItem(production: Production, position: number, lookaheadSet?: Iterable): StateItem; }