Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CJex/regulex
/ functions
Functions
404 in github.com/CJex/regulex
⨍
Functions
404
◇
Types & classes
104
↓ 39 callers
Method
slice
()
src/Kit.ts:174
↓ 18 callers
Method
equals
(other: Charset)
src/Kit.ts:908
↓ 16 callers
Function
asNode
(type?: T['type'])
src/grammar/Base.ts:148
↓ 14 callers
Function
begin
(r: CharRangeRepr)
src/Kit.ts:528
↓ 14 callers
Function
end
(r: CharRangeRepr)
src/Kit.ts:531
↓ 14 callers
Function
isResultOK
(a: Result<A, any>)
src/Kit.ts:148
↓ 14 callers
Method
subtract
(other: Charset)
src/Kit.ts:828
↓ 13 callers
Method
_parseWith
(context: ParseCtx<any, State, UserError>)
src/Parsec.ts:684
↓ 13 callers
Function
testProp
(desc: string, arb: C.Arbitrary<T>, f: (t: T) => boolean | void)
test/utils.ts:77
↓ 12 callers
Method
_getDeref
()
src/Parsec.ts:917
↓ 12 callers
Function
ord
(c: string)
src/Kit.ts:304
↓ 12 callers
Method
parse
(flags: string, strict: boolean = false)
src/AST.ts:132
↓ 11 callers
Method
_getFirstSet
()
src/Parsec.ts:913
↓ 11 callers
Method
intersect
(other: Charset)
src/Kit.ts:881
↓ 11 callers
Method
isNullable
()
src/Parsec.ts:910
↓ 11 callers
Function
re
(re: RegExp)
src/Parsec.ts:1134
↓ 10 callers
Method
Expr
()
test/benchmark/Parsec.ts:44
↓ 10 callers
Function
fixStateRange
(initialState: GenState)
test/grammar/BaseGen.ts:63
↓ 10 callers
Method
toPattern
()
src/Kit.ts:913
↓ 10 callers
Method
toString
()
src/Kit.ts:917
↓ 10 callers
Method
union
(other: Charset)
src/Kit.ts:877
↓ 9 callers
Function
genInCharset
(ch: K.Charset)
test/utils.ts:159
↓ 9 callers
Method
inverted
()
src/Kit.ts:873
↓ 9 callers
Function
pack
(begin: number, end: number)
src/Kit.ts:524
↓ 8 callers
Function
chr
(n: number)
src/Kit.ts:300
↓ 8 callers
Method
create
(props?: {[K in UT.NonFunctionKeys<RegexFlags>]?: boolean})
src/AST.ts:153
↓ 8 callers
Method
isEmpty
()
src/Kit.ts:803
↓ 7 callers
Method
fromChars
Build from single char list.
src/Kit.ts:764
↓ 7 callers
Method
fromCodePoints
(codePoints: number[])
src/Kit.ts:768
↓ 7 callers
Method
fromPattern
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 callers
Function
listOfCharRange
(max = 40)
test/KitSpec.ts:15
↓ 7 callers
Function
visit
(node: Node, visitor: Visitor, parent?: Node)
src/AST.ts:327
↓ 6 callers
Function
_check
(node: AST.Node)
src/grammar/Base.ts:503
↓ 6 callers
Method
desc
()
src/Parsec.ts:570
↓ 6 callers
Method
on
(eventType: T, listener: (e: any) => void)
src/web/EventEmitter.ts:46
↓ 6 callers
Method
toRegex
()
src/Kit.ts:921
↓ 6 callers
Function
unicodes
()
test/ParsecSpec.ts:11
↓ 5 callers
Method
at
(n: N)
src/Parsec.ts:524
↓ 5 callers
Method
compose
( p: Parser<S, A, State, UserError>, f: (v: SimpleResult<A, UserError>, ctx: TokenCtx<S, State>) => Si
src/Parsec.ts:301
↓ 5 callers
Function
toChar
(cp: number)
src/Kit.ts:663
↓ 4 callers
Method
Factor
()
test/benchmark/Parsec.ts:34
↓ 4 callers
Function
makeError
(t: RegexError['type'], range: TokenRange)
src/grammar/Base.ts:191
↓ 4 callers
Method
preventDefault
()
src/web/EventEmitter.ts:6
↓ 4 callers
Function
readAliasesToSet
(k: K)
src/UnicodeProperty.ts:302
↓ 4 callers
Function
readKeysToSet
(k: K)
src/UnicodeProperty.ts:298
↓ 4 callers
Function
sampleInCharset
(charset: K.Charset, maxCount = 100)
test/utils.ts:145
↓ 4 callers
Function
serialize
(a: any)
src/tools/buildUnicode.ts:62
↓ 4 callers
Method
thenR
(next: Parser<S, C, State, UserError>)
src/Parsec.ts:321
↓ 4 callers
Function
toCode
(name: string, value?: string)
test/grammar/BaseGen.ts:512
↓ 4 callers
Function
toNode
(type: string)
test/benchmark/Parsec.ts:12
↓ 3 callers
Function
bsearch
( a: T[], x: T, cmp: Comparator<T> = compare, startIndex: number = 0, endIndex: number = a.length -
src/Kit.ts:251
↓ 3 callers
Function
charRangeGen
()
test/KitSpec.ts:10
↓ 3 callers
Function
compareArray
(a1: S, a2: S, cmp: Comparator<S[number]> = compare)
src/Kit.ts:185
↓ 3 callers
Method
def
(rawDef: T)
src/Parsec.ts:1110
↓ 3 callers
Method
emit
(eventType: T, data?: any)
src/web/EventEmitter.ts:77
↓ 3 callers
Function
escapeNonAlphanum
(s: string, codePointSyntax: boolean = true)
src/Kit.ts:402
↓ 3 callers
Method
getSize
Get Charset total count of chars
src/Kit.ts:811
↓ 3 callers
Method
includeChar
(c: string)
src/Kit.ts:779
↓ 3 callers
Function
prettyPrint
(a: any, indent = 2)
test/utils.ts:6
↓ 3 callers
Function
sink
(c: Charset, startIndex: number)
src/tools/buildUnicode.ts:195
↓ 2 callers
Method
AtomEscape
()
src/grammar/JSRE.ts:66
↓ 2 callers
Method
Main
()
src/grammar/JSRE.ts:21
↓ 2 callers
Function
OK
(a: T)
src/Kit.ts:156
↓ 2 callers
Function
appends
(a: E, children: Children)
src/web/HTML.ts:89
↓ 2 callers
Function
assertNonOverlap
(a: K.Charset[])
test/KitSpec.ts:252
↓ 2 callers
Function
backupEnv
()
src/grammar/Base.ts:485
↓ 2 callers
Function
byId
(id: string)
src/web/main.ts:19
↓ 2 callers
Function
checkIDEscape
(ch: Charset)
src/grammar/Base.ts:566
↓ 2 callers
Function
cleanNodeRange
(node: AST.Node)
test/grammar/BaseGen.ts:540
↓ 2 callers
Method
counts
(n: number)
src/Parsec.ts:738
↓ 2 callers
Method
create
(type: string, data?: T)
src/web/EventEmitter.ts:12
↓ 2 callers
Function
cssModules
(regex: RegExp, mode: 'local' | 'global')
webpack.config.ts:50
↓ 2 callers
Function
down
()
src/AST.ts:342
↓ 2 callers
Function
fixStickyDecimalEscape
(a: string[])
src/grammar/Base.ts:610
↓ 2 callers
Function
flat
(a: T[][])
src/Kit.ts:381
↓ 2 callers
Method
focus
(position: 'Start' | 'End' = 'End')
src/web/TextEditor.ts:65
↓ 2 callers
Function
genCharItemF
test/grammar/BaseGen.ts:128
↓ 2 callers
Method
getRegex
()
src/web/RegexEditor.ts:97
↓ 2 callers
Method
includeCodePoint
(cp: number)
src/Kit.ts:783
↓ 2 callers
Function
isBranchNode
(n: NodeF<X>)
src/AST.ts:238
↓ 2 callers
Function
isSticky
(t1: TestCase<any>, t2: TestCase<any>)
test/grammar/BaseGen.ts:57
↓ 2 callers
Method
isSubsetof
(parent: Charset)
src/Kit.ts:798
↓ 2 callers
Function
parse
(s: S, initalState: State)
src/Parsec.ts:202
↓ 2 callers
Function
parseBaseQuantifier
(q?: string)
src/grammar/Base.ts:101
↓ 2 callers
Function
parseBy
Parse by a custom function, it must return a consumed number in order to increase the position
src/Parsec.ts:1124
↓ 2 callers
Function
property
(arb: C.Arbitrary<T>, f: (t: T) => boolean | void)
test/utils.ts:81
↓ 2 callers
Function
refine
()
src/Parsec.ts:1118
↓ 2 callers
Method
repeats
(min: number, max: number)
src/Parsec.ts:737
↓ 2 callers
Method
resolveRef
(ruleMap: AnyParserMap)
src/Parsec.ts:902
↓ 2 callers
Function
restoreEnv
(backup: EnvBackup)
src/grammar/Base.ts:489
↓ 2 callers
Function
sampleInCharRange
(range: K.CharRangeRepr, maxCount = 100)
test/utils.ts:132
↓ 2 callers
Method
setTextContent
(s: string)
src/web/TextEditor.ts:112
↓ 2 callers
Function
testParser
(title: string, gen: C.Arbitrary<ParseTestCase<any>>)
test/ParsecSpec.ts:202
↓ 2 callers
Method
toCodePoints
(maxCount = Infinity)
src/Kit.ts:925
↓ 2 callers
Function
toQNode
(q: Omit<AST.QuantifierNode, 'range'>)
src/grammar/Base.ts:395
↓ 1 callers
Method
Assertion
()
src/grammar/JSRE.ts:50
↓ 1 callers
Method
Atom
()
src/grammar/JSRE.ts:62
↓ 1 callers
Method
Group
()
src/grammar/JSRE.ts:70
↓ 1 callers
Method
GroupBehavior
(state: GenState)
test/grammar/JSRESpec.ts:13
↓ 1 callers
Method
GroupBehavior
()
src/grammar/JSRE.ts:84
next →
1–100 of 404, ranked by callers