@npmstuff/argdown-core
Version:
A pluggable parser for the Argdown argumentation syntax
72 lines (71 loc) • 2.38 kB
TypeScript
import { IArgdownLogger } from "./IArgdownLogger";
export interface IProcess extends IArgdownRequest {
process: string[] | string;
processes: undefined;
}
export interface IArgdownRequest {
title?: string;
subTitle?: string;
abstract?: string;
author?: string | string[];
date?: string;
input?: string;
process?: string[] | string;
processes?: {
[name: string]: IProcess;
};
logLevel?: string;
throwExceptions?: boolean;
logExceptions?: boolean;
logger?: IArgdownLogger;
}
export interface IArgdownResponse {
exceptions?: Error[];
}
export interface ISelectionSettings {
selectedTags?: string[];
selectElementsWithoutTag?: boolean;
selectedSections?: string[];
selectElementsWithoutSection?: boolean;
includeStatements?: string[];
excludeStatements?: string[];
excludeArguments?: string[];
ignoreIsInMap?: boolean;
}
export * from "./lexer";
export { tokenMatcher } from "chevrotain";
export * from "./RuleNames";
export * from "./TokenNames";
export * from "./parser";
export * from "./ArgdownTreeWalker";
export * from "./ArgdownApplication";
export * from "./Logger";
export * from "./plugins/ModelPlugin";
export * from "./plugins/ParserPlugin";
export * from "./plugins/DataPlugin";
export * from "./plugins/RegroupPlugin";
export * from "./plugins/ClosedGroupPlugin";
export * from "./plugins/ColorPlugin";
export * from "./plugins/HtmlExportPlugin";
export * from "./plugins/PreselectionPlugin";
export * from "./plugins/ArgumentSelectionPlugin";
export * from "./plugins/StatementSelectionPlugin";
export * from "./plugins/MapPlugin";
export * from "./plugins/GroupPlugin";
export * from "./plugins/JSONExportPlugin";
export * from "./plugins/DotExportPlugin";
export * from "./plugins/GraphMLExportPlugin";
export * from "./plugins/HighlightSourcePlugin";
export * from "./plugins/WebComponentExportPlugin";
export * from "./plugins/ExplodeArgumentsPlugin";
export * from "./plugins/MapNodeImagesPlugin";
export * from "./plugins/VizJsSettings";
export * from "./plugins/SaysWhoPlugin";
export * from "./plugins/shortcodes";
export * from "./IArgdownPlugin";
export * from "./IArgdownLogger";
export * from "./ArgdownPluginError";
export * from "./model/model";
export * from "./model/toJSON";
export * from "./utils";
export * from "./deriveImplicitRelations";