docutils-ts
Version:
Port of the Python Docutils library to TypeScript
16 lines (15 loc) • 738 B
TypeScript
import SpecializedBody from './specializedBody.js';
import { RegexpResult, ContextArray, StateInterface, ParseMethodReturnType } from '../../../types.js';
/**
* Second and subsequent explicit markup construct.
*/
declare class Explicit extends SpecializedBody {
/** Footnotes, hyperlink targets, directives, comments. */
explicit_markup(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
/** Determine which explicit construct this is, parse & return it. */
explicit_construct(match: any): any;
/** Anonymous hyperlink targets. */
anonymous(match: RegexpResult, context: ContextArray, nextState: StateInterface): any;
blank: () => void;
}
export default Explicit;