MCPcopy Create free account

hub / github.com/Bowen7/regex-vis / functions

Functions215 in github.com/Bowen7/regex-vis

↓ 39 callersFunctioncn
(...inputs: ClassValue[])
src/utils.ts:4
↓ 30 callersFunctionparse
(regex: string, options: Options = {})
src/parser/parse.ts:4
↓ 16 callersFunctiongen
( ast: AST.Regex | AST.Node[], { escapeBackslash, literal }: Options = {}, )
src/parser/gen.ts:249
↓ 16 callersMethodid
()
src/parser/parser.ts:49
↓ 12 callersMethodadvance
(size: number)
src/parser/lexer.ts:178
↓ 11 callersFunctionupdateContent
(ast: AST.Regex, id: string, content: AST.Content)
src/parser/modifiers/content.ts:5
↓ 8 callersFunctiongetNodeById
( ast: AST.Regex, id: string, )
src/parser/visit.ts:112
↓ 8 callersFunctionmeasureNodeText
(texts: string[] | string)
src/modules/graph/measure.ts:87
↓ 8 callersFunctionreplaceFromLists
( nodeList: AST.Node[], oldNodes: AST.Node[], newNodes: AST.Node[], )
src/parser/modifiers/replace.ts:3
↓ 7 callersFunctiononChange
(value: string | string[])
src/modules/editor/features/content/back-ref.tsx:30
↓ 7 callersMethodreadByRegex
(r: RegExp)
src/parser/lexer.ts:134
↓ 6 callersFunctiongetNodesByIds
( ast: AST.Regex, ids: string[], )
src/parser/visit.ts:144
↓ 6 callersMethodparseQuantifier
()
src/parser/parser.ts:222
↓ 6 callersFunctionremoveBackslash
(str: string)
src/parser/backslash.ts:6
↓ 5 callersFunctiondispatch
(action: Action)
src/components/ui/use-toast.ts:134
↓ 5 callersFunctionmeasureText
(text: string, fontSize: number, fontFamily = REGEX_FONT_FAMILY)
src/modules/graph/measure.ts:57
↓ 5 callersFunctiontoast
({ ...props }: Toast)
src/components/ui/use-toast.ts:143
↓ 5 callersFunctionvisit
( node: AST.Regex | AST.Node, callback: ( node: AST.Node, nodeList: AST.Node[], index: number,
src/parser/visit.ts:3
↓ 4 callersFunction_callback
( node: AST.Node, nodeList: AST.Node[], index: number, parent: AST.ParentNode, )
src/parser/visit.ts:13
↓ 4 callersMethodgenNodes
(nodes: AST.Node[])
src/parser/gen.ts:65
↓ 4 callersMethodreadTarget
(target: string)
src/parser/lexer.ts:115
↓ 4 callersFunctionrenderClassCharacter
(value: string, t: TFunction)
src/modules/graph/text.tsx:50
↓ 4 callersMethodtoken
(type: TokenType, size = 1)
src/parser/lexer.ts:52
↓ 4 callersFunctionupdateQuantifier
( ast: AST.Regex, selectedId: string, quantifier: AST.Quantifier | null, )
src/parser/modifiers/quantifier.ts:7
↓ 4 callersFunctionuseToast
()
src/components/ui/use-toast.ts:173
↓ 3 callersFunctioncheckQuantifier
(node: AST.Node)
src/parser/utils.ts:6
↓ 3 callersFunctionlargerWithMinSize
(size: [number, number])
src/modules/graph/measure.ts:199
↓ 3 callersFunctionmeasureNodes
(nodes: AST.Node[], sizeMap: Map<AST.Node | AST.Node[], NodeSize>)
src/modules/graph/ast-graph.tsx:35
↓ 3 callersMethodparseNodes
()
src/parser/parser.ts:53
↓ 3 callersFunctionsaveCases
(cases: Case[])
src/modules/editor/test-tab.tsx:39
↓ 3 callersFunctiontryCharacterClassText
(key: string)
src/modules/graph/utils.ts:43
↓ 3 callersFunctionupdateGroup
( ast: AST.Regex, selectedIds: string[], group: AST.Group | null, )
src/parser/modifiers/group.ts:12
↓ 3 callersFunctionuseSize
( node: AST.Node | AST.Node[], sizeMap: Map<AST.Node | AST.Node[], NodeSize>, )
src/modules/graph/utils.ts:71
↓ 3 callersFunctionvisitNodes
( node: AST.Regex | AST.Node, callback: (id: string, index: number, nodes: AST.Node[]) => void | boolean,
src/parser/visit.ts:63
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/components/ui/use-toast.ts:59
↓ 2 callersMethodgen
()
src/parser/gen.ts:46
↓ 2 callersFunctiongenInitialNodesInfo
()
src/modules/editor/utils.ts:16
↓ 2 callersFunctiongenPermalink
(tests: string[] = [])
src/utils/helpers/index.ts:1
↓ 2 callersFunctiongetBoxSize
(node: AST.Node, contentSize: [number, number])
src/modules/graph/measure.ts:191
↓ 2 callersFunctiongetNameText
(node: AST.Node, t: TFunction)
src/modules/graph/utils.ts:16
↓ 2 callersFunctiongetQuantifier
(node: AST.Node)
src/parser/utils.ts:3
↓ 2 callersFunctiongetQuantifierText
(quantifier: AST.Quantifier)
src/modules/graph/utils.ts:76
↓ 2 callersFunctiongroupSelected
( ast: AST.Regex, selectedIds: string[], group: AST.Group, )
src/parser/modifiers/group.ts:37
↓ 2 callersFunctionhandleGroupChange
(kind: AST.GroupKind, name = '')
src/modules/editor/features/group/index.tsx:40
↓ 2 callersFunctionlrd
( node: AST.Regex | AST.Node, callback: (node: AST.Regex | AST.Node) => void, )
src/parser/visit.ts:162
↓ 2 callersFunctiononAdd
(range: Omit<AST.Range, 'id'>)
src/modules/editor/features/content/ranges.tsx:64
↓ 2 callersMethodparse
()
src/parser/parser.ts:32
↓ 2 callersMethodreadBackslash
(range = false)
src/parser/lexer.ts:60
↓ 2 callersFunctionremoveFromList
(nodeList: AST.Node[], ids: string[])
src/parser/modifiers/remove.ts:43
↓ 2 callersFunctionrenderNodes
(reactNodes)
tests/__mocks__/react-i18next.js:10
↓ 2 callersFunctionrenderString
(value: string)
src/modules/graph/text.tsx:34
↓ 2 callersFunctionupdateFlags
(ast: AST.Regex, flags: string[])
src/parser/modifiers/flags.ts:3
↓ 2 callersFunctionuseCurrentState
( initialState: S | (() => S), )
src/utils/hooks/use-current-state.ts:40
↓ 2 callersFunctionuseFocus
(options: FocusOptions = {})
src/utils/hooks/use-focus.ts:7
↓ 2 callersFunctionuseLatest
(value: T)
src/utils/hooks/use-latest.ts:3
↓ 1 callersFunction_visit
(node: AST.Regex | AST.Node)
src/parser/visit.ts:25
↓ 1 callersFunction_visitNodes
(node: AST.Regex | AST.Node)
src/parser/visit.ts:75
↓ 1 callersFunctiondisableTransition
()
src/components/theme-provider/index.tsx:25
↓ 1 callersFunctiondismiss
()
src/components/ui/use-toast.ts:151
↓ 1 callersMethodgenBackReference
(node: AST.BackReferenceNode)
src/parser/gen.ts:239
↓ 1 callersMethodgenBoundaryAssertionNode
( node: | AST.BeginningBoundaryAssertionNode | AST.EndBoundaryAssertionNode | AST.WordBo
src/parser/gen.ts:211
↓ 1 callersMethodgenCharacter
(node: AST.CharacterNode)
src/parser/gen.ts:135
↓ 1 callersMethodgenChoice
(node: AST.ChoiceNode)
src/parser/gen.ts:97
↓ 1 callersFunctiongenChoiceNode
()
src/parser/modifiers/insert.ts:18
↓ 1 callersMethodgenFlags
()
src/parser/gen.ts:59
↓ 1 callersMethodgenGroup
(node: AST.GroupNode)
src/parser/gen.ts:107
↓ 1 callersFunctiongenId
()
src/components/ui/use-toast.ts:28
↓ 1 callersMethodgenLookAroundAssertionNode
(node: AST.LookAroundAssertionNode)
src/parser/gen.ts:232
↓ 1 callersFunctiongenNode
()
src/parser/modifiers/insert.ts:8
↓ 1 callersMethodgenNode
(node: AST.Node)
src/parser/gen.ts:69
↓ 1 callersMethodgenQuantifier
(node: AST.CharacterNode | AST.GroupNode | AST.BackReferenceNode)
src/parser/gen.ts:178
↓ 1 callersFunctiongenWithSelected
(ast: AST.Regex, selectedIds: string[])
src/parser/gen-with-selected.ts:28
↓ 1 callersFunctiongetBackReferenceText
( node: AST.BackReferenceNode, t: TFunction, )
src/modules/graph/utils.ts:38
↓ 1 callersFunctiongetBoundaryAssertionText
( node: | AST.BeginningBoundaryAssertionNode | AST.EndBoundaryAssertionNode | AST.WordBoundaryAs
src/modules/graph/utils.ts:53
↓ 1 callersFunctiongetChildren
(node)
tests/__mocks__/react-i18next.js:7
↓ 1 callersFunctiongetContentInfo
(nodes: AST.Node[])
src/modules/editor/utils.ts:42
↓ 1 callersFunctiongetGroupInfo
(nodes: AST.Node[])
src/modules/editor/utils.ts:28
↓ 1 callersFunctiongetIdFromNodes
(nodes: AST.Node[])
src/modules/editor/utils.ts:91
↓ 1 callersFunctiongetInfoFromNodes
(ast: AST.Regex, nodes: AST.Node[])
src/modules/editor/utils.ts:98
↓ 1 callersFunctiongetLookAroundInfo
( nodes: AST.Node[], )
src/modules/editor/utils.ts:78
↓ 1 callersFunctiongetQuantifierInfo
( nodes: AST.Node[], )
src/modules/editor/utils.ts:66
↓ 1 callersFunctionhandleChange
(value: string, index: number)
src/modules/editor/test-tab.tsx:50
↓ 1 callersFunctionhandleInsert
(direction: InsertDirection)
src/modules/editor/features/insert/index.tsx:86
↓ 1 callersFunctionhandleRemove
(index: number)
src/modules/editor/test-tab.tsx:58
↓ 1 callersFunctionhandleWrapGroup
(kind: string)
src/modules/editor/features/insert/index.tsx:88
↓ 1 callersFunctionhandleWrapLookAroundAssertion
(kind: string)
src/modules/editor/features/insert/index.tsx:106
↓ 1 callersFunctionhasChildren
(node)
tests/__mocks__/react-i18next.js:4
↓ 1 callersFunctioninsertAroundSelected
( ast: AST.Regex, selectedIds: string[], direction: InsertDirection, )
src/parser/modifiers/insert.ts:26
↓ 1 callersFunctionisMdnLinkKey
(key: string)
src/utils/links/index.tsx:19
↓ 1 callersFunctionlookAroundAssertionSelected
( ast: AST.Regex, selectedIds: string[], kind: 'lookahead' | 'lookbehind', )
src/parser/modifiers/lookaround.ts:29
↓ 1 callersFunctionmakeChoiceValid
(ast: AST.Regex)
src/parser/modifiers/choice.ts:17
↓ 1 callersFunctionmeasureBranches
(branches: AST.Node[][], currentSizeMap: Map<AST.Node | AST.Node[], NodeSize>, nextSizeMap: Map<AST.Node | AST
src/modules/graph/ast-graph.tsx:47
↓ 1 callersFunctionmeasureCharacter
(node: AST.CharacterNode)
src/modules/graph/measure.ts:154
↓ 1 callersFunctionmeasureNodeName
(node: AST.Node | AST.Regex)
src/modules/graph/measure.ts:241
↓ 1 callersFunctionmeasureQuantifier
(node: AST.Node)
src/modules/graph/measure.ts:69
↓ 1 callersFunctionmeasureRanges
(ranges: AST.Range[])
src/modules/graph/measure.ts:106
↓ 1 callersFunctionmeasureSimpleNode
(node: | AST.CharacterNode | AST.BackReferenceNode | AST.BeginningBoundaryAssertionNode | AST.EndBound
src/modules/graph/measure.ts:206
↓ 1 callersFunctionmeasureTexts
(texts: string[])
src/modules/graph/measure.ts:83
↓ 1 callersFunctionnonCapturingGroupIt
(nodeList: AST.Node[], node: AST.ChoiceNode)
src/parser/modifiers/choice.ts:6
↓ 1 callersFunctiononRangeChange
(index: number, range: AST.Range)
src/modules/editor/features/content/ranges.tsx:73
next →1–100 of 215, ranked by callers