docutils-ts
Version:
Port of the Python Docutils library to TypeScript
20 lines (19 loc) • 1.75 kB
TypeScript
import Body from './body.js';
import { RegexpResult, ContextArray, StateInterface, ParseMethodReturnType } from '../../../types.js';
declare class SpecializedBody extends Body {
indent(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
bullet(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
enumerator(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
field_marker(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
option_marker(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
doctest(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
line_block(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
grid_table_top(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
simple_table_top(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
explicit_markup(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
anonymous(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
line(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
text(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
invalid_input(match?: RegexpResult, context?: ContextArray, nextState?: StateInterface): ParseMethodReturnType;
}
export default SpecializedBody;