Sha256: 1ea28482318192e74b0099b643e3b7582100528a51c53d2ff515fb6b51ae4d55
Contents?: true
Size: 668 Bytes
Versions: 7
Compression:
Stored size: 668 Bytes
Contents
import { CodeBlock } from "./types"; export declare type MatchExpression = | RegExp | string | ((currentBlock: CodeBlock, currentText: string) => string | undefined); export default class ParseRule { name: string; exclusive: boolean; wholeword: boolean; start: MatchExpression | MatchExpression[]; skip?: MatchExpression | MatchExpression[]; end?: MatchExpression | MatchExpression[]; constructor( name: string, options: { exclusive?: boolean; wholeword?: boolean; start: MatchExpression | MatchExpression[]; end?: MatchExpression | MatchExpression[]; skip?: MatchExpression | MatchExpression[]; }, ); }
Version data entries
7 entries across 7 versions & 1 rubygems