Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alaingilbert/agl
/ functions
Functions
2,276 in github.com/alaingilbert/agl
⨍
Functions
2,276
◇
Types & classes
311
↓ 2 callers
Method
tryIdentOrType2
(canBeShortFn bool)
pkg/parser/parser.go:1598
↓ 2 callers
Method
updateDocument
(uri string, content string)
language_server/main.go:104
↓ 2 callers
Method
walkBody
(body *ast.BlockStmt)
pkg/parser/resolver.go:609
↓ 2 callers
Method
walkFieldList
(list *ast.FieldList, kind ast.ObjKind)
pkg/parser/resolver.go:593
↓ 2 callers
Method
walkFuncType
(typ *ast.FuncType)
pkg/parser/resolver.go:515
↓ 2 callers
Method
walkTParams
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 callers
Method
withDestructure
(clb func())
pkg/agl/infer.go:118
↓ 2 callers
Method
withOptType1
(n ast.Node, t types.Type, clb func())
pkg/agl/infer.go:147
↓ 2 callers
Method
wrapIfNative
(e Emitter, x ast.Expr, v func() string)
pkg/agl/codegen.go:4870
↓ 1 callers
Method
Add
(pkg string)
pkg/agl/infer.go:358
↓ 1 callers
Method
AddError
AddError adds an error without caller information (used by Env)
pkg/agl/infer.go:95
↓ 1 callers
Function
AglIntCheckedDiv
(v, d int)
pkg/agl/core/core.go:2543
↓ 1 callers
Function
AglIteratorCycle
(it CloneIterator[T])
pkg/agl/core/core.go:752
↓ 1 callers
Function
AglIteratorFind
AglIteratorFind searches for an element of an iterator that satisfies a predicate.
pkg/agl/core/core.go:671
↓ 1 callers
Function
AglIteratorMapWhile
(it Iterator[T], f func(T) Option[R])
pkg/agl/core/core.go:1606
↓ 1 callers
Function
AglIteratorMax
(it Iterator[T])
pkg/agl/core/core.go:1689
↓ 1 callers
Function
AglIteratorReduce
(it Iterator[T], acc R, f func(R, T) R)
pkg/agl/core/core.go:794
↓ 1 callers
Function
AglIteratorReduceInto
(it Iterator[T], acc R, f func(*R, T) AglVoid)
pkg/agl/core/core.go:805
↓ 1 callers
Function
AglIteratorSkipWhile
AglIteratorSkipWhile creates an iterator that skips elements based on a predicate.
pkg/agl/core/core.go:1536
↓ 1 callers
Function
AglIteratorTakeWhile
AglIteratorTakeWhile creates an iterator that yields elements based on a predicate.
pkg/agl/core/core.go:1484
↓ 1 callers
Function
AglMapLen
(m map[K]V)
pkg/agl/core/core.go:2398
↓ 1 callers
Function
AglSetContains
AglSetContains returns a Boolean value that indicates whether the given element exists in the set.
pkg/agl/core/core.go:1735
↓ 1 callers
Function
AglSetInsert
(s AglSet[T], el T)
pkg/agl/core/core.go:1726
↓ 1 callers
Function
AglSetIntersects
AglSetIntersects ...
pkg/agl/core/core.go:1986
↓ 1 callers
Function
AglSetIsDisjoint
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 callers
Function
AglVecIter
(v AglVec[T])
pkg/agl/core/core.go:905
↓ 1 callers
Function
AglVecPopFront
AglVecPopFront ...
pkg/agl/core/core.go:2326
↓ 1 callers
Function
AglVecReduce
(a []T, acc R, f func(R, T) R)
pkg/agl/core/core.go:258
↓ 1 callers
Method
Assign
(parentInfo *Info, n ast.Node, name string, fset *token.FileSet, mutEnforced bool)
pkg/agl/env.go:1344
↓ 1 callers
Method
Completion
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:370
↓ 1 callers
Method
DefineErr
(n ast.Node, name string, typ types.Type)
pkg/agl/env.go:1287
↓ 1 callers
Method
Definition
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:197
↓ 1 callers
Method
DidChange
(ctx context.Context, params lsp.DidChangeTextDocumentParams)
language_server/main.go:89
↓ 1 callers
Method
DidClose
(ctx context.Context, params lsp.DidCloseTextDocumentParams)
language_server/main.go:98
↓ 1 callers
Method
DidOpen
(ctx context.Context, params lsp.DidOpenTextDocumentParams)
language_server/main.go:83
↓ 1 callers
Method
Draw
()
pkg/agl/env.go:392
↓ 1 callers
Method
Error
Error implements the error interface.
pkg/scanner/errors.go:24
↓ 1 callers
Function
False
()
pkg/utils/utils.go:12
↓ 1 callers
Function
FindIdx
FindIdx ...
pkg/agl/utils.go:264
↓ 1 callers
Function
FindIter
FindIter ...
pkg/agl/utils.go:259
↓ 1 callers
Function
First
(a T, _ ...any)
pkg/agl/utils.go:291
↓ 1 callers
Function
Fprint
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 callers
Method
GenCode2
(opts ...GeneratorOption)
pkg/agl/infer_test.go:94
↓ 1 callers
Method
GenerateStandardSourceMap
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 callers
Method
GetNameInfoDirect
(name string)
pkg/agl/env.go:1211
↓ 1 callers
Method
GetOrCreateNameInfo
(name string)
pkg/agl/env.go:1223
↓ 1 callers
Method
GoStr
()
pkg/types/types.go:79
↓ 1 callers
Method
GoStrMonomorphized
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 callers
Method
Hover
(ctx context.Context, params lsp.TextDocumentPositionParams)
language_server/main.go:319
↓ 1 callers
Function
IndexOf
IndexOf ...
pkg/agl/utils.go:246
↓ 1 callers
Method
Infer
()
pkg/agl/infer.go:303
↓ 1 callers
Method
Initialize
(ctx context.Context, params lsp.InitializeParams)
language_server/main.go:45
↓ 1 callers
Function
IsExhaustive
(enumT types.EnumType, clauses []*ast.MatchClause)
pkg/agl/infer.go:5362
↓ 1 callers
Function
IsKeyword
IsKeyword reports whether name is a Go keyword, such as "func" or "return".
pkg/token/token.go:384
↓ 1 callers
Method
IsOperator
IsOperator returns true for tokens corresponding to operators and delimiters; it returns false otherwise.
pkg/token/token.go:369
↓ 1 callers
Method
IsValid
IsValid reports whether the position is valid.
pkg/token/position.go:34
↓ 1 callers
Method
Len
()
pkg/agl/core/core.go:860
↓ 1 callers
Method
LineCount
LineCount returns the number of lines in file f.
pkg/token/position.go:131
↓ 1 callers
Function
Lookup
Lookup maps an identifier to its keyword token or [IDENT] (if not a keyword).
pkg/token/token.go:354
↓ 1 callers
Function
Map
(a []T, clb func(T) R)
pkg/utils/utils.go:60
↓ 1 callers
Function
NewServer
()
language_server/main.go:38
↓ 1 callers
Method
Next
()
pkg/agl/core/core.go:1277
↓ 1 callers
Method
Next
()
pkg/agl/core/core.go:1357
↓ 1 callers
Function
NotNilFilter
NotNilFilter is a [FieldFilter] that returns true for field values that are not nil; it returns false otherwise.
pkg/ast/print.go:22
↓ 1 callers
Function
PanicsContains
(t *testing.T, errString string, f func())
e2eTests/e2e_test.go:312
↓ 1 callers
Function
ParseExprFrom
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 callers
Method
PositionFor
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 callers
Method
Precedence
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 callers
Function
PrefixIf
(s, prefix string)
pkg/utils/utils.go:91
↓ 1 callers
Function
ReplGen2
(t Type, currTyp, newTyp Type)
pkg/types/types.go:956
↓ 1 callers
Method
Scan
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 callers
Function
Second
(_ any, a T, _ ...any)
pkg/agl/utils.go:293
↓ 1 callers
Method
SetType
(p *Info, def1 *DefinitionProvider, x ast.Node, t types.Type, fset *token.FileSet)
pkg/agl/env.go:1359
↓ 1 callers
Method
Shutdown
(ctx context.Context)
language_server/main.go:61
↓ 1 callers
Function
SuffixIf
(s, suffix string)
pkg/utils/utils.go:95
↓ 1 callers
Method
Text
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 callers
Method
TypeParamGoStr2
()
pkg/types/types.go:575
↓ 1 callers
Method
Unwrap
()
pkg/types/types.go:707
↓ 1 callers
Method
WithIfVarName
(n string, clb func())
pkg/agl/codegen.go:56
↓ 1 callers
Method
WithPkgName
(pkgName string, clb func())
pkg/agl/env.go:46
↓ 1 callers
Method
addComment
(n Node, c *CommentGroup)
pkg/ast/commentmap.go:28
↓ 1 callers
Method
arrayType
(expr *ast.ArrayType)
pkg/agl/infer.go:3826
↓ 1 callers
Function
assertf
(pred bool, format string, a ...any)
pkg/agl/utils.go:109
↓ 1 callers
Method
assignStmt
(stmt *ast.AssignStmt)
pkg/agl/infer.go:4401
↓ 1 callers
Function
base64VLQChar
(digit int)
pkg/agl/codegen.go:193
↓ 1 callers
Method
basicLit
(expr *ast.BasicLit)
pkg/agl/infer.go:1137
↓ 1 callers
Method
binaryExpr
(expr *ast.BinaryExpr)
pkg/agl/infer.go:5143
↓ 1 callers
Method
blockStmt
(stmt *ast.BlockStmt)
pkg/agl/infer.go:5131
↓ 1 callers
Method
branchStmt
(stmt *ast.BranchStmt)
pkg/agl/infer.go:5345
↓ 1 callers
Method
bubbleOptionExpr
(expr *ast.BubbleOptionExpr)
pkg/agl/infer.go:3684
↓ 1 callers
Method
bubbleResultExpr
(expr *ast.BubbleResultExpr)
pkg/agl/infer.go:3668
↓ 1 callers
Function
buildAglFile
(fileName string, mutEnforced, releaseFlag bool)
main.go:988
↓ 1 callers
Function
buildFile
(fileName string, forceFlag, sourceMapFlag, standalone, mutEnforced, allowUnused, releaseFlag bool, m *agl.Pkg
main.go:601
↓ 1 callers
Function
buildFolder
TODO get from go.mod
main.go:893
↓ 1 callers
Function
buildProject
(mutEnforced, releaseFlag bool)
main.go:880
↓ 1 callers
Function
buildTypeParams
(childFn FuncType)
pkg/types/types.go:786
↓ 1 callers
Method
callExpr
(expr *ast.CallExpr)
pkg/agl/infer.go:1799
↓ 1 callers
Method
callExprArrayType
(expr *ast.CallExpr, call *ast.ArrayType)
pkg/agl/infer.go:1237
↓ 1 callers
Method
callExprFuncLit
(expr *ast.CallExpr, call *ast.FuncLit)
pkg/agl/infer.go:1243
↓ 1 callers
Method
callExprIdent
(expr *ast.CallExpr, call *ast.Ident)
pkg/agl/infer.go:1252
← previous
next →
401–500 of 2,276, ranked by callers