mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-08 19:34:56 +02:00
25 lines
749 B
TypeScript
25 lines
749 B
TypeScript
/**
|
|
* @param {Effects} effects
|
|
* @param {State} ok
|
|
* @param {State} nok
|
|
* @param {TokenType} type
|
|
* @param {TokenType} markerType
|
|
* @param {TokenType} stringType
|
|
* @param {boolean | undefined} [disallowEol=false]
|
|
*/
|
|
export function factoryLabel(
|
|
effects: Effects,
|
|
ok: State,
|
|
nok: State,
|
|
type: TokenType,
|
|
markerType: TokenType,
|
|
stringType: TokenType,
|
|
disallowEol?: boolean | undefined
|
|
): (
|
|
code: import('micromark-util-types').Code
|
|
) => import('micromark-util-types').State | undefined
|
|
export type Effects = import('micromark-util-types').Effects
|
|
export type State = import('micromark-util-types').State
|
|
export type Token = import('micromark-util-types').Token
|
|
export type TokenType = import('micromark-util-types').TokenType
|