MCPcopy Create free account

hub / github.com/alaingilbert/agl / functions

Functions2,276 in github.com/alaingilbert/agl

↓ 2 callersMethodtryIdentOrType2
(canBeShortFn bool)
pkg/parser/parser.go:1598
↓ 2 callersMethodupdateDocument
(uri string, content string)
language_server/main.go:104
↓ 2 callersMethodwalkBody
(body *ast.BlockStmt)
pkg/parser/resolver.go:609
↓ 2 callersMethodwalkFieldList
(list *ast.FieldList, kind ast.ObjKind)
pkg/parser/resolver.go:593
↓ 2 callersMethodwalkFuncType
(typ *ast.FuncType)
pkg/parser/resolver.go:515
↓ 2 callersMethodwalkTParams
walkTParams is like walkFieldList, but declares type parameters eagerly so that they may be resolved in the constraint expressions held in the field T
pkg/parser/resolver.go:604
↓ 2 callersMethodwithDestructure
(clb func())
pkg/agl/infer.go:118
↓ 2 callersMethodwithOptType1
(n ast.Node, t types.Type, clb func())
pkg/agl/infer.go:147
↓ 2 callersMethodwrapIfNative
(e Emitter, x ast.Expr, v func() string)
pkg/agl/codegen.go:4870
↓ 1 callersMethodAdd
(pkg string)
pkg/agl/infer.go:358
↓ 1 callersMethodAddError
AddError adds an error without caller information (used by Env)
pkg/agl/infer.go:95
↓ 1 callersFunctionAglIntCheckedDiv
(v, d int)
pkg/agl/core/core.go:2543
↓ 1 callersFunctionAglIteratorCycle
(it CloneIterator[T])
pkg/agl/core/core.go:752
↓ 1 callersFunctionAglIteratorFind
AglIteratorFind searches for an element of an iterator that satisfies a predicate.
pkg/agl/core/core.go:671
↓ 1 callersFunctionAglIteratorMapWhile
(it Iterator[T], f func(T) Option[R])
pkg/agl/core/core.go:1606
↓ 1 callersFunctionAglIteratorMax
(it Iterator[T])
pkg/agl/core/core.go:1689
↓ 1 callersFunctionAglIteratorReduce
(it Iterator[T], acc R, f func(R, T) R)
pkg/agl/core/core.go:794
↓ 1 callersFunctionAglIteratorReduceInto
(it Iterator[T], acc R, f func(*R, T) AglVoid)
pkg/agl/core/core.go:805
↓ 1 callersFunctionAglIteratorSkipWhile
AglIteratorSkipWhile creates an iterator that skips elements based on a predicate.
pkg/agl/core/core.go:1536
↓ 1 callersFunctionAglIteratorTakeWhile
AglIteratorTakeWhile creates an iterator that yields elements based on a predicate.
pkg/agl/core/core.go:1484
↓ 1 callersFunctionAglMapLen
(m map[K]V)
pkg/agl/core/core.go:2398
↓ 1 callersFunctionAglSetContains
AglSetContains returns a Boolean value that indicates whether the given element exists in the set.
pkg/agl/core/core.go:1735
↓ 1 callersFunctionAglSetInsert
(s AglSet[T], el T)
pkg/agl/core/core.go:1726
↓ 1 callersFunctionAglSetIntersects
AglSetIntersects ...
pkg/agl/core/core.go:1986
↓ 1 callersFunctionAglSetIsDisjoint
AglSetIsDisjoint returns a Boolean value that indicates whether the set has no members in common with the given sequence. Return: true if the set has
pkg/agl/core/core.go:1975
↓ 1 callersFunctionAglVecIter
(v AglVec[T])
pkg/agl/core/core.go:905
↓ 1 callersFunctionAglVecPopFront
AglVecPopFront ...
pkg/agl/core/core.go:2326
↓ 1 callersFunctionAglVecReduce
(a []T, acc R, f func(R, T) R)
pkg/agl/core/core.go:258
↓ 1 callersMethodAssign
(parentInfo *Info, n ast.Node, name string, fset *token.FileSet, mutEnforced bool)
pkg/agl/env.go:1344
↓ 1 callersMethodCompletion
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:370
↓ 1 callersMethodDefineErr
(n ast.Node, name string, typ types.Type)
pkg/agl/env.go:1287
↓ 1 callersMethodDefinition
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:197
↓ 1 callersMethodDidChange
(ctx context.Context, params lsp.DidChangeTextDocumentParams)
language_server/main.go:89
↓ 1 callersMethodDidClose
(ctx context.Context, params lsp.DidCloseTextDocumentParams)
language_server/main.go:98
↓ 1 callersMethodDidOpen
(ctx context.Context, params lsp.DidOpenTextDocumentParams)
language_server/main.go:83
↓ 1 callersMethodDraw
()
pkg/agl/env.go:392
↓ 1 callersMethodError
Error implements the error interface.
pkg/scanner/errors.go:24
↓ 1 callersFunctionFalse
()
pkg/utils/utils.go:12
↓ 1 callersFunctionFindIdx
FindIdx ...
pkg/agl/utils.go:264
↓ 1 callersFunctionFindIter
FindIter ...
pkg/agl/utils.go:259
↓ 1 callersFunctionFirst
(a T, _ ...any)
pkg/agl/utils.go:291
↓ 1 callersFunctionFprint
Fprint prints the (sub-)tree starting at AST node x to w. If fset != nil, position information is interpreted relative to that file set. Otherwise pos
pkg/ast/print.go:39
↓ 1 callersMethodGenCode2
(opts ...GeneratorOption)
pkg/agl/infer_test.go:94
↓ 1 callersMethodGenerateStandardSourceMap
GenerateStandardSourceMap outputs a standard-compliant source map (version 3) as a JSON string. It uses VLQ encoding for the mappings field, and assum
pkg/agl/codegen.go:201
↓ 1 callersMethodGetNameInfoDirect
(name string)
pkg/agl/env.go:1211
↓ 1 callersMethodGetOrCreateNameInfo
(name string)
pkg/agl/env.go:1223
↓ 1 callersMethodGoStr
()
pkg/types/types.go:79
↓ 1 callersMethodGoStrMonomorphized
GoStrMonomorphized generates a monomorphized name for this struct type if all type parameters are concrete. Otherwise returns the regular GoStr(). Thi
pkg/types/types.go:361
↓ 1 callersMethodHover
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:319
↓ 1 callersFunctionIndexOf
IndexOf ...
pkg/agl/utils.go:246
↓ 1 callersMethodInfer
()
pkg/agl/infer.go:303
↓ 1 callersMethodInitialize
(ctx context.Context, params lsp.InitializeParams)
language_server/main.go:45
↓ 1 callersFunctionIsExhaustive
(enumT types.EnumType, clauses []*ast.MatchClause)
pkg/agl/infer.go:5362
↓ 1 callersFunctionIsKeyword
IsKeyword reports whether name is a Go keyword, such as "func" or "return".
pkg/token/token.go:384
↓ 1 callersMethodIsOperator
IsOperator returns true for tokens corresponding to operators and delimiters; it returns false otherwise.
pkg/token/token.go:369
↓ 1 callersMethodIsValid
IsValid reports whether the position is valid.
pkg/token/position.go:34
↓ 1 callersMethodLen
()
pkg/agl/core/core.go:860
↓ 1 callersMethodLineCount
LineCount returns the number of lines in file f.
pkg/token/position.go:131
↓ 1 callersFunctionLookup
Lookup maps an identifier to its keyword token or [IDENT] (if not a keyword).
pkg/token/token.go:354
↓ 1 callersFunctionMap
(a []T, clb func(T) R)
pkg/utils/utils.go:60
↓ 1 callersFunctionNewServer
()
language_server/main.go:38
↓ 1 callersMethodNext
()
pkg/agl/core/core.go:1277
↓ 1 callersMethodNext
()
pkg/agl/core/core.go:1357
↓ 1 callersFunctionNotNilFilter
NotNilFilter is a [FieldFilter] that returns true for field values that are not nil; it returns false otherwise.
pkg/ast/print.go:22
↓ 1 callersFunctionPanicsContains
(t *testing.T, errString string, f func())
e2eTests/e2e_test.go:312
↓ 1 callersFunctionParseExprFrom
ParseExprFrom is a convenience function for parsing an expression. The arguments have the same meaning as for [ParseFile], but the source must be a va
pkg/parser/interface.go:203
↓ 1 callersMethodPositionFor
PositionFor converts a [Pos] p in the fileset into a [Position] value. If adjusted is set, the position may be adjusted by position-altering line comm
pkg/token/position.go:594
↓ 1 callersMethodPrecedence
Precedence returns the operator precedence of the binary operator op. If op is not a binary operator, the result is LowestPrecedence.
pkg/token/token.go:320
↓ 1 callersFunctionPrefixIf
(s, prefix string)
pkg/utils/utils.go:91
↓ 1 callersFunctionReplGen2
(t Type, currTyp, newTyp Type)
pkg/types/types.go:956
↓ 1 callersMethodScan
Scan scans the next token and returns the token position, the token, and its literal string if applicable. The source end is indicated by [token.EOF].
pkg/scanner/scanner.go:885
↓ 1 callersFunctionSecond
(_ any, a T, _ ...any)
pkg/agl/utils.go:293
↓ 1 callersMethodSetType
(p *Info, def1 *DefinitionProvider, x ast.Node, t types.Type, fset *token.FileSet)
pkg/agl/env.go:1359
↓ 1 callersMethodShutdown
(ctx context.Context)
language_server/main.go:61
↓ 1 callersFunctionSuffixIf
(s, suffix string)
pkg/utils/utils.go:95
↓ 1 callersMethodText
Text returns the text of the comment. Comment markers (//, /*, and */), the first space of a line comment, and leading and trailing empty lines are re
pkg/ast/ast.go:102
↓ 1 callersMethodTypeParamGoStr2
()
pkg/types/types.go:575
↓ 1 callersMethodUnwrap
()
pkg/types/types.go:707
↓ 1 callersMethodWithIfVarName
(n string, clb func())
pkg/agl/codegen.go:56
↓ 1 callersMethodWithPkgName
(pkgName string, clb func())
pkg/agl/env.go:46
↓ 1 callersMethodaddComment
(n Node, c *CommentGroup)
pkg/ast/commentmap.go:28
↓ 1 callersMethodarrayType
(expr *ast.ArrayType)
pkg/agl/infer.go:3826
↓ 1 callersFunctionassertf
(pred bool, format string, a ...any)
pkg/agl/utils.go:109
↓ 1 callersMethodassignStmt
(stmt *ast.AssignStmt)
pkg/agl/infer.go:4401
↓ 1 callersFunctionbase64VLQChar
(digit int)
pkg/agl/codegen.go:193
↓ 1 callersMethodbasicLit
(expr *ast.BasicLit)
pkg/agl/infer.go:1137
↓ 1 callersMethodbinaryExpr
(expr *ast.BinaryExpr)
pkg/agl/infer.go:5143
↓ 1 callersMethodblockStmt
(stmt *ast.BlockStmt)
pkg/agl/infer.go:5131
↓ 1 callersMethodbranchStmt
(stmt *ast.BranchStmt)
pkg/agl/infer.go:5345
↓ 1 callersMethodbubbleOptionExpr
(expr *ast.BubbleOptionExpr)
pkg/agl/infer.go:3684
↓ 1 callersMethodbubbleResultExpr
(expr *ast.BubbleResultExpr)
pkg/agl/infer.go:3668
↓ 1 callersFunctionbuildAglFile
(fileName string, mutEnforced, releaseFlag bool)
main.go:988
↓ 1 callersFunctionbuildFile
(fileName string, forceFlag, sourceMapFlag, standalone, mutEnforced, allowUnused, releaseFlag bool, m *agl.Pkg
main.go:601
↓ 1 callersFunctionbuildFolder
TODO get from go.mod
main.go:893
↓ 1 callersFunctionbuildProject
(mutEnforced, releaseFlag bool)
main.go:880
↓ 1 callersFunctionbuildTypeParams
(childFn FuncType)
pkg/types/types.go:786
↓ 1 callersMethodcallExpr
(expr *ast.CallExpr)
pkg/agl/infer.go:1799
↓ 1 callersMethodcallExprArrayType
(expr *ast.CallExpr, call *ast.ArrayType)
pkg/agl/infer.go:1237
↓ 1 callersMethodcallExprFuncLit
(expr *ast.CallExpr, call *ast.FuncLit)
pkg/agl/infer.go:1243
↓ 1 callersMethodcallExprIdent
(expr *ast.CallExpr, call *ast.Ident)
pkg/agl/infer.go:1252
← previousnext →401–500 of 2,276, ranked by callers