MCPcopy Create free account

hub / github.com/MirrowApp/mirrow / functions

Functions132 in github.com/MirrowApp/mirrow

↓ 170 callersFunctioncreateStringAttr
( name: string, opts: Parameters<typeof stringAttr>[1] = {} )
packages/core/src/data/svg-attributes.ts:107
↓ 66 callersFunctioncreateNumberAttr
( name: string, opts: Parameters<typeof numberAttr>[1] = {} )
packages/core/src/data/svg-attributes.ts:102
↓ 59 callersFunctioncombineAttributes
(...groups: AttributeSpec[][])
packages/core/src/data/svg-attributes.ts:134
↓ 45 callersMethodadvance
()
packages/core/src/compiler/lexer.ts:498
↓ 43 callersFunctioncombineChildren
(...groups: string[][])
packages/core/src/data/keywords.ts:142
↓ 35 callersFunctioncompile
(code: string)
packages/core/src/index.ts:16
↓ 35 callersFunctioncreateTupleAttr
( name: string, length: number, opts: Parameters<typeof tupleAttr>[2] = {} )
packages/core/src/data/svg-attributes.ts:117
↓ 30 callersFunctionproduceNumberPair
( firstKey: string, secondKey: string )
packages/core/src/data/attribute-spec.ts:99
↓ 24 callersMethodconsume
(type: TokenType, message: string)
packages/core/src/compiler/parser.ts:929
↓ 23 callersFunctionparseFromCode
(code)
packages/core/test/parser.test.js:5
↓ 21 callersMethodpeek
(distance = 0)
packages/core/src/compiler/parser.ts:943
↓ 14 callersFunctionfailValidation
( context: AttributeValidationContext, message: string, position: SourcePosition )
packages/core/src/compiler/parser.ts:72
↓ 13 callersMethodcheck
(type: TokenType)
packages/core/src/compiler/parser.ts:939
↓ 11 callersFunctionwriteFile
(target, contents)
packages/cli/test/cli.test.js:18
↓ 8 callersMethodisDigit
(char: string)
packages/core/src/compiler/lexer.ts:478
↓ 6 callersMethodadvance
()
packages/core/src/compiler/parser.ts:949
↓ 6 callersFunctioncreateTempDir
(label)
packages/cli/test/cli.test.js:14
↓ 6 callersMethodreadComment
()
packages/core/src/compiler/lexer.ts:288
↓ 6 callersFunctionrunMirrow
(options: CliOptions)
packages/cli/src/runner.ts:142
↓ 5 callersFunctionformatPath
(target: string)
packages/cli/src/runner.ts:70
↓ 5 callersMethodisAlpha
(char: string)
packages/core/src/compiler/lexer.ts:482
↓ 5 callersMethodparseStringLiteral
()
packages/core/src/compiler/parser.ts:827
↓ 5 callersFunctionwaitUntil
(predicate, timeout = 2000, interval = 50)
packages/cli/test/cli.test.js:23
↓ 4 callersFunctioncompileMirrowFile
( inputFile: string, outputFile: string )
packages/cli/src/runner.ts:31
↓ 4 callersMethodreadString
()
packages/core/src/compiler/lexer.ts:229
↓ 4 callersFunctiontokenize
(input: string)
packages/core/src/compiler/lexer.ts:511
↓ 4 callersFunctionwatchMirrow
( options: CliOptions, signal?: AbortSignal )
packages/cli/src/runner.ts:170
↓ 3 callersFunctionapplyNameMapping
(spec: T)
packages/core/src/data/svg-attributes.ts:73
↓ 3 callersFunctioncreateBooleanAttr
( name: string, opts: Parameters<typeof booleanAttr>[1] = {} )
packages/core/src/data/svg-attributes.ts:112
↓ 3 callersFunctionlogRemoval
(inputPath: string, outputPath: string)
packages/cli/src/runner.ts:59
↓ 3 callersFunctionlogWatchError
(error: unknown)
packages/cli/src/runner.ts:398
↓ 3 callersMethodparseIdentifierLiteral
()
packages/core/src/compiler/parser.ts:846
↓ 3 callersMethodparseNumberLiteral
()
packages/core/src/compiler/parser.ts:836
↓ 3 callersFunctionproduceNumberTriple
(firstKey: string, secondKey: string, thirdKey: string)
packages/core/src/data/svg-attributes.ts:124
↓ 2 callersFunctionassertMirrowFile
(filePath: string)
packages/cli/src/runner.ts:23
↓ 2 callersFunctioncompileElement
( node: ElementNode, context: CompileContext, depth: number )
packages/core/src/compiler/compiler.ts:110
↓ 2 callersFunctioncopyAsset
(inputFile: string, outputFile: string)
packages/cli/src/runner.ts:43
↓ 2 callersFunctionescapeAttributeValue
(value: unknown)
packages/core/src/compiler/compiler.ts:292
↓ 2 callersFunctionextractBlockContent
(block: string)
packages/core/src/compiler/compiler.ts:308
↓ 2 callersMethodfallThrough
()
packages/core/src/compiler/parser.ts:782
↓ 2 callersMethodgetAttributeSpec
(name: string)
packages/core/src/data/keywords.ts:56
↓ 2 callersFunctiongetSvgKeywords
()
packages/core/src/data/keywords.ts:470
↓ 2 callersFunctionhandleEvent
(event: WatchEvent, changedPath: string)
packages/cli/src/runner.ts:242
↓ 2 callersFunctionindentBlock
(content: string, indent: string)
packages/core/src/compiler/compiler.ts:352
↓ 2 callersMethodisWhitespace
(char: string)
packages/core/src/compiler/lexer.ts:474
↓ 2 callersFunctionlogAction
( kind: ActionKind, inputPath: string, outputPath: string )
packages/cli/src/runner.ts:49
↓ 2 callersFunctionnormalizeChildName
(child: ChildSpec)
packages/core/src/data/keywords.ts:23
↓ 2 callersFunctionnormalizeCssStateName
(name: string)
packages/core/src/data/codeblocks.ts:7
↓ 2 callersFunctionnormalizeJsEventName
(name: string)
packages/core/src/data/codeblocks.ts:10
↓ 2 callersFunctionparse
(tokens: Token[])
packages/core/src/compiler/parser.ts:956
↓ 2 callersMethodparse
()
packages/core/src/compiler/parser.ts:246
↓ 2 callersMethodparseDirectiveGroup
(options: DirectiveGroupOptions<T>)
packages/core/src/compiler/parser.ts:716
↓ 2 callersMethodparseElement
()
packages/core/src/compiler/parser.ts:414
↓ 2 callersMethodparseTupleLiteral
()
packages/core/src/compiler/parser.ts:765
↓ 2 callersMethodparseVariableReference
()
packages/core/src/compiler/parser.ts:858
↓ 2 callersMethodreadIdentifier
()
packages/core/src/compiler/lexer.ts:348
↓ 2 callersMethodreadNumber
()
packages/core/src/compiler/lexer.ts:419
↓ 2 callersFunctionresolveOutputFilePath
(output: string)
packages/cli/src/runner.ts:131
↓ 2 callersFunctionresolveVariablesInText
( text: string, variables: VariableContext )
packages/core/src/compiler/compiler.ts:316
↓ 2 callersFunctionstringAttr
( name: string, opts: Partial<Omit<StringAttributeSpec, "name" | "type">> = {} )
packages/core/src/data/attribute-spec.ts:52
↓ 2 callersFunctiontoSvgPath
(outputDir: string, fileName: string)
packages/cli/src/runner.ts:65
↓ 2 callersFunctionwaitForAbort
( watcher: chokidar.FSWatcher, signal: AbortSignal )
packages/cli/src/runner.ts:380
↓ 1 callersFunctionbooleanAttr
( name: string, opts: Partial<Omit<BooleanAttributeSpec, "name" | "type">> = {} )
packages/core/src/data/attribute-spec.ts:62
↓ 1 callersFunctionbuildVariableContext
(varsBlock?: VarsBlock)
packages/core/src/compiler/compiler.ts:39
↓ 1 callersMethodcanContainText
()
packages/core/src/data/keywords.ts:70
↓ 1 callersMethodcollectBlockEntries
(parentKeyword: Keyword)
packages/core/src/compiler/parser.ts:509
↓ 1 callersFunctioncollectDirectives
(node: ElementNode, context: CompileContext)
packages/core/src/compiler/compiler.ts:185
↓ 1 callersFunctioncompileAst
(ast: AST, blocks: SpecialBlock[])
packages/core/src/compiler/compiler.ts:80
↓ 1 callersFunctioncompileChild
( child: ElementNode | TextNode, context: CompileContext, depth: number )
packages/core/src/compiler/compiler.ts:143
↓ 1 callersFunctioncreateAttributeValue
( attributeNode: AttributeNode, spec: AttributeSpec, variables: VariableContext )
packages/core/src/compiler/compiler.ts:217
↓ 1 callersMethodcreateDirectiveId
(keyword: string, position: SourcePosition)
packages/core/src/compiler/parser.ts:892
↓ 1 callersFunctioncreateTaskQueue
()
packages/cli/src/runner.ts:369
↓ 1 callersFunctionensureOutputParent
(target: string)
packages/cli/src/runner.ts:135
↓ 1 callersFunctionescapeForJsString
(value: string)
packages/core/src/compiler/compiler.ts:424
↓ 1 callersFunctionescapeTextContent
(value: string)
packages/core/src/compiler/compiler.ts:301
↓ 1 callersMethodgetAttributeSpecs
()
packages/core/src/data/keywords.ts:60
↓ 1 callersMethodhasAllowedChild
(child: ChildSpec)
packages/core/src/data/keywords.ts:64
↓ 1 callersFunctionisCssException
(name: string)
packages/core/src/data/codeblocks.ts:256
↓ 1 callersFunctionisCssState
(name: string)
packages/core/src/data/codeblocks.ts:252
↓ 1 callersFunctionisInsideOutput
(target: string)
packages/cli/src/runner.ts:235
↓ 1 callersFunctionisJsEvent
(name: string)
packages/core/src/data/codeblocks.ts:268
↓ 1 callersFunctionisSpecialCodeblock
(name: string)
packages/core/src/data/codeblocks.ts:272
↓ 1 callersFunctionisWithinDepth
( relativePath: string, depth: number | typeof Infinity, isDirectory: boolean )
packages/cli/src/runner.ts:351
↓ 1 callersFunctionliteralValueToString
(value: LiteralValue)
packages/core/src/compiler/compiler.ts:331
↓ 1 callersMethodlookupKeyword
(name: string, position: SourcePosition)
packages/core/src/compiler/parser.ts:913
↓ 1 callersMethodmatch
(type: TokenType)
packages/core/src/compiler/parser.ts:921
↓ 1 callersMethodnextToken
()
packages/core/src/compiler/lexer.ts:80
↓ 1 callersFunctionnormalizeBoolean
(value: LiteralValue)
packages/core/src/compiler/compiler.ts:265
↓ 1 callersFunctionnormalizeNumberLike
(value: LiteralValue)
packages/core/src/compiler/compiler.ts:239
↓ 1 callersFunctionnormalizeStringLike
(value: LiteralValue)
packages/core/src/compiler/compiler.ts:252
↓ 1 callersFunctionnormalizeTuple
(value: LiteralValue)
packages/core/src/compiler/compiler.ts:273
↓ 1 callersFunctionnumberAttr
( name: string, opts: Partial<Omit<NumberAttributeSpec, "name" | "type">> = {} )
packages/core/src/data/attribute-spec.ts:42
↓ 1 callersMethodparseAttributeEntry
( parentKeyword: Keyword, seen: Set<string> )
packages/core/src/compiler/parser.ts:469
↓ 1 callersMethodparseAttributeValue
()
packages/core/src/compiler/parser.ts:738
↓ 1 callersMethodparseCssStateDirectives
( parentKeyword: Keyword, directiveId: string )
packages/core/src/compiler/parser.ts:611
↓ 1 callersMethodparseElementBlock
( keyword: Keyword, blockToken: Token )
packages/core/src/compiler/parser.ts:441
↓ 1 callersMethodparseJsEventDirectives
( parentKeyword: Keyword, directiveId: string )
packages/core/src/compiler/parser.ts:656
↓ 1 callersMethodparseTupleItem
()
packages/core/src/compiler/parser.ts:804
↓ 1 callersMethodparseVariableDeclarations
()
packages/core/src/compiler/parser.ts:358
↓ 1 callersMethodparseVariableValue
()
packages/core/src/compiler/parser.ts:394
next →1–100 of 132, ranked by callers