Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adamhaile/surplus
/ functions
Functions
354 in github.com/adamhaile/surplus
⨍
Functions
354
◇
Types & classes
57
↓ 26 callers
Function
ERR
(msg, loc)
compiler/index.js:370
↓ 26 callers
Function
ERR
(msg, loc)
compiler/es/parse.js:309
↓ 26 callers
Function
ERR
(msg : string, loc? : { line : number, col : number, pos : number })
src/compiler/parse.ts:370
↓ 26 callers
Function
IS
(t)
compiler/index.js:375
↓ 26 callers
Function
IS
(t)
compiler/es/parse.js:314
↓ 26 callers
Function
IS
(t : string)
src/compiler/parse.ts:376
↓ 26 callers
Function
NEXT
()
compiler/index.js:360
↓ 26 callers
Function
NEXT
()
compiler/es/parse.js:299
↓ 26 callers
Function
NEXT
()
src/compiler/parse.ts:362
↓ 25 callers
Function
NOT
(t)
compiler/index.js:378
↓ 25 callers
Function
NOT
(t)
compiler/es/parse.js:317
↓ 25 callers
Function
NOT
(t : string)
src/compiler/parse.ts:380
↓ 23 callers
Function
test
(array)
spec/runtime/content.spec.js:195
↓ 15 callers
Function
content
(val)
spec/runtime/content.spec.js:215
↓ 15 callers
Function
insert
(val)
spec/runtime/insert.spec.js:180
↓ 13 callers
Function
LOC
()
compiler/index.js:418
↓ 13 callers
Function
LOC
()
compiler/es/parse.js:357
↓ 13 callers
Function
LOC
()
src/compiler/parse.ts:420
↓ 12 callers
Function
compileSegments
(node)
compiler/index.js:666
↓ 12 callers
Function
compileSegments
(node)
compiler/es/codeGen.js:53
↓ 12 callers
Function
compileSegments
(node : Program | EmbeddedCode)
src/compiler/codeGen.ts:67
↓ 11 callers
Function
codeStr
(str)
compiler/index.js:858
↓ 11 callers
Function
codeStr
(str)
compiler/es/codeGen.js:245
↓ 11 callers
Function
codeStr
(str : string)
src/compiler/codeGen.ts:331
↓ 5 callers
Function
addStatement
(stmt)
compiler/index.js:825
↓ 5 callers
Function
addStatement
(stmt)
compiler/es/codeGen.js:212
↓ 5 callers
Function
addStatement
(stmt : string)
src/compiler/codeGen.ts:283
↓ 4 callers
Function
SKIPWS
()
compiler/index.js:390
↓ 4 callers
Function
SKIPWS
()
compiler/es/parse.js:329
↓ 4 callers
Function
SKIPWS
()
src/compiler/parse.ts:396
↓ 4 callers
Function
SPLIT
(rx)
compiler/index.js:404
↓ 4 callers
Function
SPLIT
(rx)
compiler/es/parse.js:343
↓ 4 callers
Function
SPLIT
(rx : RegExp)
src/compiler/parse.ts:406
↓ 4 callers
Function
addComputation
(body, stateVar, seed, loc)
compiler/index.js:827
↓ 4 callers
Function
addComputation
(body, stateVar, seed, loc)
compiler/es/codeGen.js:214
↓ 4 callers
Function
addComputation
(body : string[], stateVar : string | null, seed : string | null, loc : LOC)
src/compiler/codeGen.ts:285
↓ 4 callers
Function
clear
(node)
index.js:509
↓ 4 callers
Function
clear
(node)
es/content.js:353
↓ 4 callers
Function
clear
(node : Node)
src/runtime/content.ts:363
↓ 4 callers
Function
equable
(u, n, i, us)
index.js:454
↓ 4 callers
Function
equable
(u, n, i, us)
es/content.js:296
↓ 4 callers
Function
equable
(u : string | Node, n : Node, i : number, us : (string | Node)[])
src/runtime/content.ts:311
↓ 3 callers
Function
codeMultiLineComment
()
compiler/index.js:347
↓ 3 callers
Function
codeMultiLineComment
()
compiler/es/parse.js:286
↓ 3 callers
Function
codeMultiLineComment
()
src/compiler/parse.ts:344
↓ 3 callers
Function
codeSingleLineComment
()
compiler/index.js:335
↓ 3 callers
Function
codeSingleLineComment
()
compiler/es/parse.js:274
↓ 3 callers
Function
codeSingleLineComment
()
src/compiler/parse.ts:329
↓ 3 callers
Function
embeddedCode
(flags)
compiler/index.js:239
↓ 3 callers
Function
embeddedCode
(flags)
compiler/es/parse.js:178
↓ 3 callers
Function
embeddedCode
(flags : ContentFlags)
src/compiler/parse.ts:221
↓ 3 callers
Function
locationMark
(loc)
compiler/index.js:426
↓ 3 callers
Function
locationMark
(loc)
compiler/es/sourcemap.js:4
↓ 3 callers
Function
locationMark
(loc : LOC)
src/compiler/sourcemap.ts:10
↓ 3 callers
Function
quotedString
()
compiler/index.js:322
↓ 3 callers
Function
quotedString
()
compiler/es/parse.js:261
↓ 3 callers
Function
quotedString
()
src/compiler/parse.ts:309
↓ 3 callers
Function
setAttributeNS
(node, namespace, name, value)
index.js:589
↓ 3 callers
Function
vlq
(num)
compiler/index.js:483
↓ 3 callers
Function
vlq
(num)
compiler/es/sourcemap.js:61
↓ 3 callers
Function
vlq
(num : number)
src/compiler/sourcemap.ts:93
↓ 2 callers
Function
MATCH
(rx)
compiler/index.js:381
↓ 2 callers
Function
MATCH
(rx)
compiler/es/parse.js:320
↓ 2 callers
Function
MATCH
(rx : RegExp)
src/compiler/parse.ts:384
↓ 2 callers
Function
MATCHES
(rx)
compiler/index.js:384
↓ 2 callers
Function
MATCHES
(rx)
compiler/es/parse.js:323
↓ 2 callers
Function
MATCHES
(rx : RegExp)
src/compiler/parse.ts:388
↓ 2 callers
Function
PARENS
()
compiler/index.js:387
↓ 2 callers
Function
PARENS
()
compiler/es/parse.js:326
↓ 2 callers
Function
PARENS
()
src/compiler/parse.ts:392
↓ 2 callers
Function
addId
(parent, tag, n)
compiler/index.js:820
↓ 2 callers
Function
addId
(parent, tag, n)
compiler/es/codeGen.js:207
↓ 2 callers
Function
addId
(parent : string, tag : string, n : number)
src/compiler/codeGen.ts:277
↓ 2 callers
Function
appendNodes
(parent, array, i, end)
index.js:468
↓ 2 callers
Function
appendNodes
(parent, array, i, end)
es/content.js:310
↓ 2 callers
Function
appendNodes
(parent : Node, array : (Node | string)[], i : number, end : number)
src/runtime/content.ts:323
↓ 2 callers
Function
balancedParens
(segments, text, loc, flags)
compiler/index.js:252
↓ 2 callers
Function
balancedParens
(segments, text, loc, flags)
compiler/es/parse.js:191
↓ 2 callers
Function
balancedParens
(segments : AST.CodeSegment[], text : string, loc : LOC, flags? : ContentFlags)
src/compiler/parse.ts:241
↓ 2 callers
Function
buildField
(id, field, expr, parent)
compiler/index.js:782
↓ 2 callers
Function
buildField
(id, field, expr, parent)
compiler/es/codeGen.js:169
↓ 2 callers
Function
buildField
(id : string, field : JSXStaticField | JSXDynamicField, expr : string, parent : JSXElement)
src/compiler/codeGen.ts:231
↓ 2 callers
Function
buildHtmlElement
(node, parent, n)
compiler/index.js:754
↓ 2 callers
Function
buildHtmlElement
(node, parent, n)
compiler/es/codeGen.js:141
↓ 2 callers
Function
buildHtmlElement
(node : JSXElement, parent : string, n : number)
src/compiler/codeGen.ts:191
↓ 2 callers
Function
buildJSXInsert
(node, parent, n)
compiler/index.js:810
↓ 2 callers
Function
buildJSXInsert
(node, parent, n)
compiler/es/codeGen.js:197
↓ 2 callers
Function
buildJSXInsert
(node : JSXInsert, parent : string, n : number)
src/compiler/codeGen.ts:264
↓ 2 callers
Function
compileJSXElement
(node, indent)
compiler/index.js:672
↓ 2 callers
Function
compileJSXElement
(node, indent)
compiler/es/codeGen.js:59
↓ 2 callers
Function
compileJSXElement
(node : JSXElement, indent : Indents)
src/compiler/codeGen.ts:74
↓ 2 callers
Function
emitComputation
(comp, _a)
compiler/index.js:841
↓ 2 callers
Function
emitComputation
(comp, _a)
compiler/es/codeGen.js:228
↓ 2 callers
Function
emitComputation
(comp : Computation, { nli, nlii } : Indents)
src/compiler/codeGen.ts:303
↓ 2 callers
Function
escape
(c)
spec/compiler/parser.spec.js:163
↓ 2 callers
Function
expected
(array)
spec/runtime/content.spec.js:202
↓ 2 callers
Function
extractMap
(src, original, opts)
compiler/index.js:460
↓ 2 callers
Function
getFieldData
(field, svg)
compiler/index.js:606
↓ 2 callers
Function
getFieldData
(field, svg)
compiler/es/fieldData.js:110
↓ 2 callers
Function
getFieldData
(field : string, svg : boolean)
src/compiler/fieldData.ts:142
next →
1–100 of 354, ranked by callers