MCPcopy Create free account

hub / github.com/CJex/regulex / functions

Functions404 in github.com/CJex/regulex

↓ 39 callersMethodslice
()
src/Kit.ts:174
↓ 18 callersMethodequals
(other: Charset)
src/Kit.ts:908
↓ 16 callersFunctionasNode
(type?: T['type'])
src/grammar/Base.ts:148
↓ 14 callersFunctionbegin
(r: CharRangeRepr)
src/Kit.ts:528
↓ 14 callersFunctionend
(r: CharRangeRepr)
src/Kit.ts:531
↓ 14 callersFunctionisResultOK
(a: Result<A, any>)
src/Kit.ts:148
↓ 14 callersMethodsubtract
(other: Charset)
src/Kit.ts:828
↓ 13 callersMethod_parseWith
(context: ParseCtx<any, State, UserError>)
src/Parsec.ts:684
↓ 13 callersFunctiontestProp
(desc: string, arb: C.Arbitrary<T>, f: (t: T) => boolean | void)
test/utils.ts:77
↓ 12 callersMethod_getDeref
()
src/Parsec.ts:917
↓ 12 callersFunctionord
(c: string)
src/Kit.ts:304
↓ 12 callersMethodparse
(flags: string, strict: boolean = false)
src/AST.ts:132
↓ 11 callersMethod_getFirstSet
()
src/Parsec.ts:913
↓ 11 callersMethodintersect
(other: Charset)
src/Kit.ts:881
↓ 11 callersMethodisNullable
()
src/Parsec.ts:910
↓ 11 callersFunctionre
(re: RegExp)
src/Parsec.ts:1134
↓ 10 callersMethodExpr
()
test/benchmark/Parsec.ts:44
↓ 10 callersFunctionfixStateRange
(initialState: GenState)
test/grammar/BaseGen.ts:63
↓ 10 callersMethodtoPattern
()
src/Kit.ts:913
↓ 10 callersMethodtoString
()
src/Kit.ts:917
↓ 10 callersMethodunion
(other: Charset)
src/Kit.ts:877
↓ 9 callersFunctiongenInCharset
(ch: K.Charset)
test/utils.ts:159
↓ 9 callersMethodinverted
()
src/Kit.ts:873
↓ 9 callersFunctionpack
(begin: number, end: number)
src/Kit.ts:524
↓ 8 callersFunctionchr
(n: number)
src/Kit.ts:300
↓ 8 callersMethodcreate
(props?: {[K in UT.NonFunctionKeys<RegexFlags>]?: boolean})
src/AST.ts:153
↓ 8 callersMethodisEmpty
()
src/Kit.ts:803
↓ 7 callersMethodfromChars
Build from single char list.
src/Kit.ts:764
↓ 7 callersMethodfromCodePoints
(codePoints: number[])
src/Kit.ts:768
↓ 7 callersMethodfromPattern
Regex like char class pattern string like '^a-f123' to Charset: exclude range "a" to "f" and chars "123". Support "^" to indicate invertion. Char "\
src/Kit.ts:698
↓ 7 callersFunctionlistOfCharRange
(max = 40)
test/KitSpec.ts:15
↓ 7 callersFunctionvisit
(node: Node, visitor: Visitor, parent?: Node)
src/AST.ts:327
↓ 6 callersFunction_check
(node: AST.Node)
src/grammar/Base.ts:503
↓ 6 callersMethoddesc
()
src/Parsec.ts:570
↓ 6 callersMethodon
(eventType: T, listener: (e: any) => void)
src/web/EventEmitter.ts:46
↓ 6 callersMethodtoRegex
()
src/Kit.ts:921
↓ 6 callersFunctionunicodes
()
test/ParsecSpec.ts:11
↓ 5 callersMethodat
(n: N)
src/Parsec.ts:524
↓ 5 callersMethodcompose
( p: Parser<S, A, State, UserError>, f: (v: SimpleResult<A, UserError>, ctx: TokenCtx<S, State>) => Si
src/Parsec.ts:301
↓ 5 callersFunctiontoChar
(cp: number)
src/Kit.ts:663
↓ 4 callersMethodFactor
()
test/benchmark/Parsec.ts:34
↓ 4 callersFunctionmakeError
(t: RegexError['type'], range: TokenRange)
src/grammar/Base.ts:191
↓ 4 callersMethodpreventDefault
()
src/web/EventEmitter.ts:6
↓ 4 callersFunctionreadAliasesToSet
(k: K)
src/UnicodeProperty.ts:302
↓ 4 callersFunctionreadKeysToSet
(k: K)
src/UnicodeProperty.ts:298
↓ 4 callersFunctionsampleInCharset
(charset: K.Charset, maxCount = 100)
test/utils.ts:145
↓ 4 callersFunctionserialize
(a: any)
src/tools/buildUnicode.ts:62
↓ 4 callersMethodthenR
(next: Parser<S, C, State, UserError>)
src/Parsec.ts:321
↓ 4 callersFunctiontoCode
(name: string, value?: string)
test/grammar/BaseGen.ts:512
↓ 4 callersFunctiontoNode
(type: string)
test/benchmark/Parsec.ts:12
↓ 3 callersFunctionbsearch
( a: T[], x: T, cmp: Comparator<T> = compare, startIndex: number = 0, endIndex: number = a.length -
src/Kit.ts:251
↓ 3 callersFunctioncharRangeGen
()
test/KitSpec.ts:10
↓ 3 callersFunctioncompareArray
(a1: S, a2: S, cmp: Comparator<S[number]> = compare)
src/Kit.ts:185
↓ 3 callersMethoddef
(rawDef: T)
src/Parsec.ts:1110
↓ 3 callersMethodemit
(eventType: T, data?: any)
src/web/EventEmitter.ts:77
↓ 3 callersFunctionescapeNonAlphanum
(s: string, codePointSyntax: boolean = true)
src/Kit.ts:402
↓ 3 callersMethodgetSize
Get Charset total count of chars
src/Kit.ts:811
↓ 3 callersMethodincludeChar
(c: string)
src/Kit.ts:779
↓ 3 callersFunctionprettyPrint
(a: any, indent = 2)
test/utils.ts:6
↓ 3 callersFunctionsink
(c: Charset, startIndex: number)
src/tools/buildUnicode.ts:195
↓ 2 callersMethodAtomEscape
()
src/grammar/JSRE.ts:66
↓ 2 callersMethodMain
()
src/grammar/JSRE.ts:21
↓ 2 callersFunctionOK
(a: T)
src/Kit.ts:156
↓ 2 callersFunctionappends
(a: E, children: Children)
src/web/HTML.ts:89
↓ 2 callersFunctionassertNonOverlap
(a: K.Charset[])
test/KitSpec.ts:252
↓ 2 callersFunctionbackupEnv
()
src/grammar/Base.ts:485
↓ 2 callersFunctionbyId
(id: string)
src/web/main.ts:19
↓ 2 callersFunctioncheckIDEscape
(ch: Charset)
src/grammar/Base.ts:566
↓ 2 callersFunctioncleanNodeRange
(node: AST.Node)
test/grammar/BaseGen.ts:540
↓ 2 callersMethodcounts
(n: number)
src/Parsec.ts:738
↓ 2 callersMethodcreate
(type: string, data?: T)
src/web/EventEmitter.ts:12
↓ 2 callersFunctioncssModules
(regex: RegExp, mode: 'local' | 'global')
webpack.config.ts:50
↓ 2 callersFunctiondown
()
src/AST.ts:342
↓ 2 callersFunctionfixStickyDecimalEscape
(a: string[])
src/grammar/Base.ts:610
↓ 2 callersFunctionflat
(a: T[][])
src/Kit.ts:381
↓ 2 callersMethodfocus
(position: 'Start' | 'End' = 'End')
src/web/TextEditor.ts:65
↓ 2 callersFunctiongenCharItemF
test/grammar/BaseGen.ts:128
↓ 2 callersMethodgetRegex
()
src/web/RegexEditor.ts:97
↓ 2 callersMethodincludeCodePoint
(cp: number)
src/Kit.ts:783
↓ 2 callersFunctionisBranchNode
(n: NodeF<X>)
src/AST.ts:238
↓ 2 callersFunctionisSticky
(t1: TestCase<any>, t2: TestCase<any>)
test/grammar/BaseGen.ts:57
↓ 2 callersMethodisSubsetof
(parent: Charset)
src/Kit.ts:798
↓ 2 callersFunctionparse
(s: S, initalState: State)
src/Parsec.ts:202
↓ 2 callersFunctionparseBaseQuantifier
(q?: string)
src/grammar/Base.ts:101
↓ 2 callersFunctionparseBy
Parse by a custom function, it must return a consumed number in order to increase the position
src/Parsec.ts:1124
↓ 2 callersFunctionproperty
(arb: C.Arbitrary<T>, f: (t: T) => boolean | void)
test/utils.ts:81
↓ 2 callersFunctionrefine
()
src/Parsec.ts:1118
↓ 2 callersMethodrepeats
(min: number, max: number)
src/Parsec.ts:737
↓ 2 callersMethodresolveRef
(ruleMap: AnyParserMap)
src/Parsec.ts:902
↓ 2 callersFunctionrestoreEnv
(backup: EnvBackup)
src/grammar/Base.ts:489
↓ 2 callersFunctionsampleInCharRange
(range: K.CharRangeRepr, maxCount = 100)
test/utils.ts:132
↓ 2 callersMethodsetTextContent
(s: string)
src/web/TextEditor.ts:112
↓ 2 callersFunctiontestParser
(title: string, gen: C.Arbitrary<ParseTestCase<any>>)
test/ParsecSpec.ts:202
↓ 2 callersMethodtoCodePoints
(maxCount = Infinity)
src/Kit.ts:925
↓ 2 callersFunctiontoQNode
(q: Omit<AST.QuantifierNode, 'range'>)
src/grammar/Base.ts:395
↓ 1 callersMethodAssertion
()
src/grammar/JSRE.ts:50
↓ 1 callersMethodAtom
()
src/grammar/JSRE.ts:62
↓ 1 callersMethodGroup
()
src/grammar/JSRE.ts:70
↓ 1 callersMethodGroupBehavior
(state: GenState)
test/grammar/JSRESpec.ts:13
↓ 1 callersMethodGroupBehavior
()
src/grammar/JSRE.ts:84
next →1–100 of 404, ranked by callers