import { PRuleResult } from './../org/subalternproductions/seepResource/dsl/parser/PObjectMap'; import ParserState from "../org/subalternproductions/seepResource/dsl/parsertooling/ParserState"; import { int } from "@cafetextual/nlist/dist/src/ntree/types"; import ElementState from "../org/subalternproductions/seepResource/dsl/parsertooling/ElementState"; import RuleState from "../org/subalternproductions/seepResource/dsl/parsertooling/RuleState"; import { GElement } from "../org/subalternproductions/seepResource/dsl/parser/grammar/GRule"; import { PElementResult } from "../org/subalternproductions/seepResource/dsl/parser/PObjectMap"; import ParseStackItem from "../org/subalternproductions/seepResource/dsl/parsertooling/ParseStackItem"; export default class ParseDebugUtil { private static _labels; static readonly labels: any; static toDetailStr(state: ParserState, breakpoint?: int): string; static toElementSummary(parent: RuleState, estate: ElementState, element: GElement, includeTokens?: boolean): string; static toSimpleElementTrace(er: PElementResult): string; private static ruleToLabel(state); private static rawContent(item, element, type?); static getResultForElement(result: PRuleResult, e: GElement): PElementResult; static toStateString(state: ParserState, includeStackTrace?: boolean): string; static toCurrentLineTrace(state: ParserState): string; /** * returns an array of ParseStackItem */ static toStackTrace(state: ParserState, out?: Array, breakpoint?: int): Array; private static toStackItem(text, state, breakpoint?); static elementToString(v: ElementState | GElement): string; static toStateStack(state: ParserState, asItems?: boolean, hrefPrefix?: string): Array | Array; static traceState(state: ParserState): string; static traceStack(stack: Array): string; }