MCPcopy Create free account

hub / github.com/alaingilbert/agl / functions

Functions2,276 in github.com/alaingilbert/agl

↓ 1 callersMethodparseIndexOrSliceOrInstance
(x ast.Expr)
pkg/parser/parser.go:1967
↓ 1 callersMethodparseInterfaceType
()
pkg/parser/parser.go:1459
↓ 1 callersMethodparseMapType
()
pkg/parser/parser.go:1519
↓ 1 callersMethodparseMatchClause
()
pkg/parser/parser.go:2852
↓ 1 callersMethodparseMatchExpr
()
pkg/parser/parser.go:2918
↓ 1 callersMethodparseMethodSpec
()
pkg/parser/parser.go:1334
↓ 1 callersMethodparseOperand
parseOperand may return an expression or a raw type (incl. array types of the form [...]T). Callers must verify the result.
pkg/parser/parser.go:1749
↓ 1 callersMethodparseParamDecl
(name *ast.Ident, typeSetsOK bool)
pkg/parser/parser.go:954
↓ 1 callersMethodparsePointerType
()
pkg/parser/parser.go:926
↓ 1 callersMethodparseReturnStmt
()
pkg/parser/parser.go:2556
↓ 1 callersMethodparseSelectStmt
()
pkg/parser/parser.go:3041
↓ 1 callersMethodparseSelector
(x ast.Expr)
pkg/parser/parser.go:1939
↓ 1 callersMethodparseSetType
()
pkg/parser/parser.go:1508
↓ 1 callersMethodparseShortFuncLit
---------------------------------------------------------------------------- Expressions
pkg/parser/parser.go:1714
↓ 1 callersMethodparseStructType
()
pkg/parser/parser.go:900
↓ 1 callersMethodparseSwitchStmt
()
pkg/parser/parser.go:2935
↓ 1 callersMethodparseTemplateString
()
pkg/parser/parser.go:1838
↓ 1 callersMethodparseTypeAssertion
(x ast.Expr)
pkg/parser/parser.go:1949
↓ 1 callersMethodparseTypeList
()
pkg/parser/parser.go:621
↓ 1 callersMethodparseUnaryExpr
()
pkg/parser/parser.go:2294
↓ 1 callersMethodprint
Implementation note: Print is written for AST nodes but could be used to print arbitrary data structures; such a version should probably be in a diffe
pkg/ast/print.go:143
↓ 1 callersMethodrangeExpr
(expr *ast.RangeExpr)
pkg/agl/infer.go:3884
↓ 1 callersMethodrangeStmt
(stmt *ast.RangeStmt)
pkg/agl/infer.go:4275
↓ 1 callersFunctionreadDir
Read `*.go` files from a given directory
pkg/agl/env.go:854
↓ 1 callersFunctionresolve
(scope *Scope, ident *Ident)
pkg/ast/resolve.go:44
↓ 1 callersFunctionresolveFile
resolveFile walks the given file to resolve identifiers within the file scope, updating ast.Ident.Obj fields with declaration information. If declErr
pkg/parser/resolver.go:21
↓ 1 callersMethodresultExpr
(expr *ast.ResultExpr)
pkg/agl/infer.go:3979
↓ 1 callersMethodreturnStmt
(stmt *ast.ReturnStmt)
pkg/agl/infer.go:5094
↓ 1 callersFunctionrunAction
(ctx context.Context, cmd *cli.Command)
main.go:253
↓ 1 callersMethodsandboxed
(clb func())
pkg/agl/infer.go:125
↓ 1 callersMethodscanComment
scanComment returns the text of the comment and (if nonzero) the offset of the first newline within it, which implies a *...*/ comment.
pkg/scanner/scanner.go:171
↓ 1 callersMethodscanForEnums
()
pkg/agl/codegen.go:469
↓ 1 callersMethodscanForGenericStructs
()
pkg/agl/codegen.go:567
↓ 1 callersMethodscanIdentifier1
()
pkg/scanner/scanner.go:335
↓ 1 callersMethodscanNumber
()
pkg/scanner/scanner.go:476
↓ 1 callersMethodscanRawString
()
pkg/scanner/scanner.go:779
↓ 1 callersMethodscanRune
()
pkg/scanner/scanner.go:672
↓ 1 callersMethodscanString
()
pkg/scanner/scanner.go:708
↓ 1 callersMethodscanTemplateString
()
pkg/scanner/scanner.go:730
↓ 1 callersFunctionsearchLineInfos
(a []lineInfo, x int)
pkg/token/position.go:328
↓ 1 callersMethodselectStmt
(stmt *ast.SelectStmt)
pkg/agl/infer.go:5262
↓ 1 callersMethodselectorExpr
(expr *ast.SelectorExpr)
pkg/agl/infer.go:3592
↓ 1 callersMethodsendStmt
(stmt *ast.SendStmt)
pkg/agl/infer.go:5256
↓ 1 callersMethodsetRoot
(x *node)
pkg/token/tree.go:183
↓ 1 callersMethodsetTypeExpr
(expr *ast.SetType)
pkg/agl/infer.go:3861
↓ 1 callersMethodshortFuncLit
(expr *ast.ShortFuncLit)
pkg/agl/infer.go:3033
↓ 1 callersMethodskipWhitespace
()
pkg/scanner/scanner.go:807
↓ 1 callersMethodsliceExpr
(expr *ast.SliceExpr)
pkg/agl/infer.go:3910
↓ 1 callersMethodsomeExpr
(expr *ast.SomeExpr)
pkg/agl/infer.go:3235
↓ 1 callersFunctionspawnGoBuild
(fileName, outputFlag string, standalone bool)
main.go:202
↓ 1 callersFunctionspawnGoRunFromBytes
(g *agl.Generator, fset *token.FileSet, source []byte, programArgs []string)
main.go:141
↓ 1 callersFunctionspawnGoRunFromBytes
(g *agl.Generator, fset *token.FileSet, source []byte, programArgs []string)
e2eTests/e2e_test.go:19
↓ 1 callersMethodspec
(s ast.Spec)
pkg/agl/infer.go:4003
↓ 1 callersMethodspecs
(s []ast.Spec)
pkg/agl/infer.go:3997
↓ 1 callersMethodstarExpr
(expr *ast.StarExpr)
pkg/agl/infer.go:3369
↓ 1 callersFunctionstripTrailingWhitespace
(s string)
pkg/ast/ast.go:88
↓ 1 callersMethodstructTypeExpr
(expr *ast.StructType)
pkg/agl/infer.go:3851
↓ 1 callersFunctionsummary
(list []*CommentGroup)
pkg/ast/commentmap.go:262
↓ 1 callersMethodswitchStmt
(stmt *ast.SwitchStmt)
pkg/agl/infer.go:5312
↓ 1 callersMethodtemplateLit
(expr *ast.TemplateLit)
pkg/agl/infer.go:1169
↓ 1 callersMethodtokPrec
()
pkg/parser/parser.go:2365
↓ 1 callersFunctiontrimPrefixPath
(s string)
pkg/agl/infer.go:252
↓ 1 callersMethodtryConvertType
(e ast.Expr, optType types.Type)
pkg/agl/infer.go:1077
↓ 1 callersMethodtryIdentOrTypeOrShortFnHelper
(canBeShortFn bool)
pkg/parser/parser.go:1613
↓ 1 callersMethodtupleExpr
(expr *ast.TupleExpr)
pkg/agl/infer.go:3379
↓ 1 callersMethodtypeAssertExpr
(expr *ast.TypeAssertExpr)
pkg/agl/infer.go:3299
↓ 1 callersMethodtypeSpec
(spec *ast.TypeSpec)
pkg/agl/infer.go:436
↓ 1 callersMethodtypeSpecPass1
typeSpecPass1 registers type names to allow forward references
pkg/agl/infer.go:412
↓ 1 callersMethodtypeSpecPass2
typeSpecPass2 fills in type details after all names are registered
pkg/agl/infer.go:432
↓ 1 callersMethodtypeSwitchStmt
(stmt *ast.TypeSwitchStmt)
pkg/agl/infer.go:5277
↓ 1 callersMethodtypeToGoStr
typeToGoStr converts a type to its Go string representation. For user-defined structs with concrete type parameters, it uses the monomorphized name.
pkg/agl/codegen.go:532
↓ 1 callersMethodunaryExpr
(expr *ast.UnaryExpr)
pkg/agl/infer.go:3290
↓ 1 callersMethodunpack
unpack returns the filename and line and column number for a file offset. If adjusted is set, unpack will return the filename and line information pos
pkg/token/position.go:343
↓ 1 callersMethodupdateLineInfo
updateLineInfo parses the incoming comment text at offset offs as a line directive. If successful, it updates the line info table for the position nex
pkg/scanner/scanner.go:246
↓ 1 callersFunctionuriToFilePath
uriToFilePath converts a file:// URI to a filesystem path
language_server/main.go:71
↓ 1 callersMethodvalueSpec
(spec *ast.ValueSpec)
pkg/agl/infer.go:390
↓ 1 callersMethodvoidExpr
(expr *ast.VoidExpr)
pkg/agl/infer.go:3231
↓ 1 callersMethodwalkLHS
(list []ast.Expr)
pkg/parser/resolver.go:235
↓ 1 callersMethodwalkRecv
(recv *ast.FieldList)
pkg/parser/resolver.go:547
↓ 1 callersMethodwithForceReturn
(t types.Type, clb func())
pkg/agl/infer.go:154
↓ 1 callersMethodwithIndexValue
(v types.Type, clb func())
pkg/agl/infer.go:111
↓ 1 callersMethodwithMapKV
(k, v types.Type, clb func())
pkg/agl/infer.go:133
↓ 1 callersFunctionwrapFn
(fset *gotoken.FileSet, decl *goast.FuncDecl)
cmd/auto_wrapper/main.go:42
MethodAdd
Add adds an [Error] with given position and error message to an [ErrorList].
pkg/scanner/errors.go:38
MethodAddExistingFiles
AddExistingFiles adds the specified files to the FileSet if they are not already present. The caller must ensure that no pair of Files that would appe
pkg/token/position.go:499
MethodAddLineInfo
AddLineInfo is like [File.AddLineColumnInfo] with a column = 1 argument. It is here for backward-compatibility for code prior to Go 1.11.
pkg/token/position.go:252
FunctionAglAbs
(e T)
pkg/agl/core/core.go:2302
FunctionAglAssert
(pred bool, msg ...string)
pkg/agl/core/core.go:302
FunctionAglAssertEq
(left, right T, msg ...string)
pkg/agl/core/core.go:312
FunctionAglBytesEqual
(a, b []byte)
pkg/agl/core/core.go:44
FunctionAglDoubleEndedIteratorAdvanceBackBy
(it DoubleEndedIterator[T], n int)
pkg/agl/core/core.go:487
FunctionAglDoubleEndedIteratorNthBack
(it DoubleEndedIterator[T], n int)
pkg/agl/core/core.go:521
FunctionAglDoubleEndedIteratorRFind
(it DoubleEndedIterator[T], pred func(T) bool)
pkg/agl/core/core.go:1369
FunctionAglDoubleEndedIteratorRev
(it I)
pkg/agl/core/core.go:1365
FunctionAglHttpNewRequest
(method, url string, b Option[io.Reader])
pkg/agl/core/core.go:2484
FunctionAglIdentity
(v T)
pkg/agl/core/core.go:341
FunctionAglIn
(e T, it IntoIterator[T])
pkg/agl/core/core.go:2550
FunctionAglIteratorAdvanceBy
(it Iterator[T], n int)
pkg/agl/core/core.go:469
FunctionAglIteratorAny
(it Iterator[T], f func(T) bool)
pkg/agl/core/core.go:782
FunctionAglIteratorChain
AglIteratorChain takes two iterators and creates a new iterator over both in sequence.
pkg/agl/core/core.go:550
← previousnext →701–800 of 2,276, ranked by callers