tw5-typed / modules/parsers / WikiParseRule
Class: WikiParseRule
modules/parsers.WikiParseRule
Table of contents
Constructors
Properties
Constructors
constructor
• new WikiParseRule(): WikiParseRule
Returns
Properties
is
• is: Object
Type declaration
Name | Type |
---|---|
block? | boolean |
inline? | boolean |
Defined in
src/modules/parsers/index.d.ts:17
match
• Optional
match: unknown
Defined in
src/modules/parsers/index.d.ts:19
matchRegExp
• Optional
matchRegExp: RegExp
Defined in
src/modules/parsers/index.d.ts:21
nextCall
• Optional
nextCall: Object
{type: 'macrocall', start: 261, params: Array(1), name: 'reuse-tiddler', end: 290}
Type declaration
Name | Type | Description |
---|---|---|
end | number | - |
name | string | - |
params | { end : number ; start : number ; type : string ; value : string } | { type: 'macro-parameter'; start: 276; value: '快速创建新笔记按钮'; end: 288 } |
params.end | number | - |
params.start | number | - |
params.type | string | - |
params.value | string | - |
start | number | - |
type | string | - |
Defined in
src/modules/parsers/index.d.ts:28
nextTag
• Optional
nextTag: unknown
Defined in
src/modules/parsers/index.d.ts:25
parser
• Optional
parser: WikiParser