UNPKG

@npmstuff/argdown-core

Version:

A pluggable parser for the Argdown argumentation syntax

37 lines (36 loc) 1 kB
import { EmbeddedActionsParser } from "chevrotain"; import { IAstNode } from "./model/model"; declare class ArgdownParser extends EmbeddedActionsParser { constructor(); private c1; private c2; private c3; argdown: (idxInCallingRule?: number | undefined, ...args: any[]) => IAstNode; private heading; private pcs; private pcsTail; private pcsStatement; private inference; private inferenceRules; private orderedList; private unorderedList; private unorderedListItem; private orderedListItem; private argument; private statement; private inferenceRelations; private relations; private incomingSupport; private incomingAttack; private incomingUndercut; private outgoingUndercut; private outgoingSupport; private outgoingAttack; private contradiction; private bold; private italic; private statementContent; private freestyleText; } export declare const parser: ArgdownParser; export {};