MCPcopy Create free account

hub / github.com/canopyclimate/golive / functions

Functions1,499 in github.com/canopyclimate/golive

↓ 2 callersMethodevalCall
evalCall executes a function or method call. If it's a method, fun already has the receiver bound, so it looks just like a function call. The arg list
internal/text/template/exec.go:775
↓ 2 callersMethodevalChainNode
(dot reflect.Value, chain *parse.ChainNode, args []parse.Node, final reflect.Value)
internal/text/template/exec.go:636
↓ 2 callersMethodevalEmptyInterface
(dot reflect.Value, n parse.Node)
internal/text/template/exec.go:1035
↓ 2 callersMethodevalField
evalField evaluates an expression like (.Field) or (.Field arg1 arg2). The 'final' argument represents the return value from the preceding value of th
internal/text/template/exec.go:685
↓ 2 callersMethodexecAll
(binding)
public/js/index.js:3863
↓ 2 callersMethodexecNewMounted
()
public/js/index.js:3973
↓ 2 callersMethodexpandURL
(to)
public/js/index.js:4252
↓ 2 callersFunctionfilterSrcsetElement
(s string, left int, right int, b *strings.Builder)
htmltmpl/url.go:185
↓ 2 callersMethodflushPendingOps
()
public/js/index.js:5605
↓ 2 callersFunctionfuzz
(fatalf func(string, ...any), data string)
internal/tmpl/fuzz/shared.go:33
↓ 2 callersMethodgetChildById
(id)
public/js/index.js:4084
↓ 2 callersMethodgetHref
()
public/js/index.js:5260
↓ 2 callersMethodgetScheduledSubmit
(formEl)
public/js/index.js:4574
↓ 2 callersFunctionhasClass
(element, name)
public/js/index.js:277
↓ 2 callersFunctionhasLeftTrimMarker
(s string)
internal/text/template/parse/lex.go:680
↓ 2 callersMethodhasReceived
(status)
public/js/index.js:422
↓ 2 callersFunctionhasRightTrimMarker
(s string)
internal/text/template/parse/lex.go:684
↓ 2 callersMethodidealConstant
idealConstant is called to return the value of a number in a context where we don't know the type. In that case, the syntax of the number tells us its
internal/text/template/exec.go:596
↓ 2 callersMethodifControl
If: {{if pipeline}} itemList {{end}} {{if pipeline}} itemList {{else}} itemList {{end}} If keyword is past.
internal/text/template/parse/parse.go:569
↓ 2 callersFunctionindexArg
indexArg checks if a reflect.Value can be used as an index, and converts it to int if possible.
internal/text/template/funcs.go:185
↓ 2 callersFunctionindexTagEnd
indexTagEnd finds the index of a special tag end in a case insensitive way, or returns -1
htmltmpl/transition.go:230
↓ 2 callersFunctionindirectToJSONMarshaler
indirectToJSONMarshaler returns the value, after dereferencing as many times as necessary to reach the base type (or nil) or an implementation of json
htmltmpl/js.go:131
↓ 2 callersFunctionindirectToStringerOrError
indirectToStringerOrError returns the value, after dereferencing as many times as necessary to reach the base type (or nil) or an implementation of fm
htmltmpl/content.go:139
↓ 2 callersFunctionintLike
(typ reflect.Kind)
internal/text/template/funcs.go:174
↓ 2 callersFunctionisEmpty
(obj)
public/js/index.js:1543
↓ 2 callersMethodisErrored
()
public/js/index.js:623
↓ 2 callersFunctionisHTMLSpace
isHTMLSpace is true iff c is a whitespace character per https://infra.spec.whatwg.org/#ascii-whitespace
htmltmpl/url.go:177
↓ 2 callersFunctionisInScriptLiteral
isInScriptLiteral returns true if s is one of the literal states within a <script> tag, and as such occurances of "<!--", "<script", and "</script" ne
htmltmpl/context.go:181
↓ 2 callersFunctionisJSType
isJSType reports whether the given MIME type should be considered JavaScript. It is used to determine whether a script tag with a type attribute is a
htmltmpl/js.go:403
↓ 2 callersMethodisJoining
()
public/js/index.js:629
↓ 2 callersMethodisLeaving
()
public/js/index.js:632
↓ 2 callersMethodisPhxView
(el)
public/js/index.js:5090
↓ 2 callersFunctionisSafeURL
isSafeURL is true if s is a relative URL or if URL has a protocol in (http, https, mailto).
htmltmpl/url.go:47
↓ 2 callersMethodjoinChild
(el)
public/js/index.js:4103
↓ 2 callersMethodjoinNewChildren
()
public/js/index.js:4081
↓ 2 callersFunctionjoinRange
(c0 context, rc *rangeContext)
htmltmpl/escape.go:551
↓ 2 callersMethodjoinRootViews
()
public/js/index.js:5041
↓ 2 callersFunctionleftTrimLength
leftTrimLength returns the length of the spaces at the beginning of the string.
internal/text/template/parse/lex.go:317
↓ 2 callersFunctionlex
lex creates a new scanner for the input string.
internal/text/template/parse/lex.go:241
↓ 2 callersFunctionlexFieldOrVariable
lexFieldOrVariable scans a field or variable: [.$]Alphanumeric. The . or $ has been scanned.
internal/text/template/parse/lex.go:525
↓ 2 callersFunctionlt
lt evaluates the comparison a < b.
internal/text/template/funcs.go:528
↓ 2 callersMethodmaybeAddNewHook
(el, force)
public/js/index.js:4016
↓ 2 callersMethodmaybeMounted
(el)
public/js/index.js:4008
↓ 2 callersMethodmaybePendingRemove
(node)
public/js/index.js:3136
↓ 2 callersMethodmaybeScroll
(scroll)
public/js/index.js:5403
↓ 2 callersMethodmergeDiff
(diff)
public/js/index.js:3264
↓ 2 callersMethodnDyn
nDyn returns the number of dynamic elements of t.
internal/tmpl/tree.go:98
↓ 2 callersMethodnew
new is the implementation of New, without the lock.
htmltmpl/template.go:312
↓ 2 callersMethodnewAction
(pos Pos, line int, pipe *PipeNode)
internal/text/template/parse/node.go:266
↓ 2 callersMethodnewBool
(pos Pos, true bool)
internal/text/template/parse/node.go:618
↓ 2 callersMethodnewBreak
(pos Pos, line int)
internal/text/template/parse/node.go:949
↓ 2 callersMethodnewCommand
(pos Pos)
internal/text/template/parse/node.go:299
↓ 2 callersMethodnewContinue
(pos Pos, line int)
internal/text/template/parse/node.go:966
↓ 2 callersMethodnewDot
(pos Pos)
internal/text/template/parse/node.go:459
↓ 2 callersMethodnewEnd
(pos Pos)
internal/text/template/parse/node.go:817
↓ 2 callersMethodnewField
(pos Pos, ident string)
internal/text/template/parse/node.go:530
↓ 2 callersFunctionnewIdentCmd
newIdentCmd produces a command containing a single identifier node.
htmltmpl/escape.go:418
↓ 2 callersMethodnewNil
(pos Pos)
internal/text/template/parse/node.go:493
↓ 2 callersMethodnewNumber
(pos Pos, text string, typ itemType)
internal/text/template/parse/node.go:659
↓ 2 callersMethodnewPipeline
(pos Pos, line int, vars []*VariableNode)
internal/text/template/parse/node.go:199
↓ 2 callersMethodnewString
(pos Pos, orig, text string)
internal/text/template/parse/node.go:789
↓ 2 callersFunctionnext
()
public/js/index.js:225
↓ 2 callersFunctionnilCompare
nilCompare checks whether either value is nil. If not, the boolean is false. If either value is nil, the boolean is true and the integer is the compar
internal/fmtsort/sort.go:189
↓ 2 callersMethodonAllChildJoinsComplete
()
public/js/index.js:4126
↓ 2 callersMethodonJoinComplete
({ live_patch }, html, streams, events)
public/js/index.js:3945
↓ 2 callersMethodonJoinError
(resp)
public/js/index.js:4283
↓ 2 callersMethodonLivePatch
(redir)
public/js/index.js:4247
↓ 2 callersMethodonMessage
(_event, payload, _ref)
public/js/index.js:580
↓ 2 callersMethodonNodeDiscarded
(el)
public/js/index.js:3130
↓ 2 callersMethodonOpen
(callback)
public/js/index.js:1062
↓ 2 callersFunctionparseFS
(t *Template, fsys fs.FS, patterns []string)
htmltmpl/template.go:504
↓ 2 callersFunctionparseFS
(t *Template, fsys fs.FS, patterns []string)
internal/text/template/helper.go:151
↓ 2 callersFunctionparseGlob
parseGlob is the implementation of the function and method ParseGlob.
htmltmpl/template.go:467
↓ 2 callersFunctionparseGlob
parseGlob is the implementation of the function and method ParseGlob.
internal/text/template/helper.go:123
↓ 2 callersMethodparseJSON
(resp)
public/js/index.js:678
↓ 2 callersMethodparseTemplateName
(token item, context string)
internal/text/template/parse/parse.go:668
↓ 2 callersFunctionprepareArg
prepareArg checks if value can be used as an argument of type argType, and converts an invalid value to appropriate zero if possible.
internal/text/template/funcs.go:157
↓ 2 callersFunctionprintableValue
printableValue returns the, possibly indirected, interface value inside v that is best for a call to formatted printer.
internal/text/template/exec.go:1106
↓ 2 callersMethodprotocol
()
public/js/index.js:1019
↓ 2 callersMethodpushFormSubmit
(formEl, targetCtx, phxEvent, submitter, opts, onReply)
public/js/index.js:4622
↓ 2 callersMethodpushHistoryPatch
(href, linkState, targetEl)
public/js/index.js:5421
↓ 2 callersMethodpushHookEvent
(targetCtx, event, payload, onReply)
public/js/index.js:4466
↓ 2 callersMethodpushLinkPatch
(href, targetEl, callback)
public/js/index.js:4708
↓ 2 callersMethodreadNextChunk
()
public/js/index.js:1478
↓ 2 callersMethodrecover
recover is the handler that turns panics into returns from the top level of Parse.
internal/text/template/parse/parse.go:206
↓ 2 callersMethodrecursiveCIDToString
(components, cid, onlyCids)
public/js/index.js:3395
↓ 2 callersMethodrecursiveToString
(rendered, components = rendered[COMPONENTS], onlyCids)
public/js/index.js:3246
↓ 2 callersFunctionremoveClass
(element, name)
public/js/index.js:287
↓ 2 callersFunctionremoveElement
(element)
public/js/index.js:297
↓ 2 callersMethodrenderContainer
(diff, kind)
public/js/index.js:4163
↓ 2 callersMethodreplyEventName
(ref)
public/js/index.js:617
↓ 2 callersFunctionsafeCall
safeCall runs fun.Call(args), and returns the resulting value and error, if any. If the call panics, the panic value is returned as an error.
internal/text/template/funcs.go:357
↓ 2 callersMethodscanNumber
()
internal/text/template/parse/lex.go:600
↓ 2 callersMethodsendHeartbeat
()
public/js/index.js:1257
↓ 2 callersMethodsetHref
(href)
public/js/index.js:3799
↓ 2 callersMethodsetTopVar
setTopVar overwrites the top-nth variable on the stack. Used by range iterations.
internal/text/template/exec.go:92
↓ 2 callersMethodsimplifyComplex
simplifyComplex pulls out any other types that are represented by the complex number. These all require that the imaginary part be zero.
internal/text/template/parse/node.go:747
↓ 2 callersMethodsize
()
public/js/index.js:5602
↓ 2 callersMethodskipCIDSibling
(el)
public/js/index.js:3185
↓ 2 callersFunctionskipCSSSpace
skipCSSSpace returns a suffix of c, skipping over a single space.
htmltmpl/css.go:128
← previousnext →401–500 of 1,499, ranked by callers