MCPcopy Create free account

hub / github.com/alaingilbert/agl / functions

Functions2,276 in github.com/alaingilbert/agl

FunctionTestCodeGen85
func TestCodeGen82(t *testing.T) { src := ` fn main() { _ := 42 } ` tassert.PanicsWithError(t, "3:4: No new variables on the left side of ':='", te
pkg/agl/codegen_test.go:2732
FunctionTestCodeGen86
(t *testing.T)
pkg/agl/codegen_test.go:2755
FunctionTestCodeGen87
(t *testing.T)
pkg/agl/codegen_test.go:2774
FunctionTestCodeGen88
(t *testing.T)
pkg/agl/codegen_test.go:2793
FunctionTestCodeGen89
(t *testing.T)
pkg/agl/codegen_test.go:2810
FunctionTestCodeGen91
func TestCodeGen90(t *testing.T) { src := ` package main import "fmt" type Person struct { age int } fn main() { p1 := Person{age: 1} p2 :
pkg/agl/codegen_test.go:2864
FunctionTestCodeGen92
(t *testing.T)
pkg/agl/codegen_test.go:2919
FunctionTestCodeGen93
(t *testing.T)
pkg/agl/codegen_test.go:2881
FunctionTestCodeGen94
(t *testing.T)
pkg/agl/codegen_test.go:2900
FunctionTestCodeGen95
(t *testing.T)
pkg/agl/codegen_test.go:2936
FunctionTestCodeGen95_2
(t *testing.T)
pkg/agl/codegen_test.go:2969
FunctionTestCodeGen95_3
(t *testing.T)
pkg/agl/codegen_test.go:3004
FunctionTestCodeGen95_4
(t *testing.T)
pkg/agl/codegen_test.go:3031
FunctionTestCodeGen95_5
(t *testing.T)
pkg/agl/codegen_test.go:3058
FunctionTestCodeGen95_6
(t *testing.T)
pkg/agl/codegen_test.go:3089
FunctionTestCodeGen96
(t *testing.T)
pkg/agl/codegen_test.go:3122
FunctionTestCodeGen97
(t *testing.T)
pkg/agl/codegen_test.go:3155
FunctionTestCodeGen98
(t *testing.T)
pkg/agl/codegen_test.go:3178
FunctionTestCodeGen99
(t *testing.T)
pkg/agl/codegen_test.go:3201
FunctionTestCodeGen9_optionalReturnKeyword
(t *testing.T)
pkg/agl/codegen_test.go:226
FunctionTestCodeGenForInIf
(t *testing.T)
pkg/agl/codegen_test.go:10354
FunctionTestCodeGenGuard_1
(t *testing.T)
pkg/agl/codegen_guard_test.go:9
FunctionTestCodeGenGuard_2
(t *testing.T)
pkg/agl/codegen_guard_test.go:43
FunctionTestCodeGenGuard_3
(t *testing.T)
pkg/agl/codegen_guard_test.go:71
FunctionTestCodeGenMatch_1
(t *testing.T)
pkg/agl/codegen_match_test.go:9
FunctionTestCodeGenMatch_2
(t *testing.T)
pkg/agl/codegen_match_test.go:28
FunctionTestCodeGenMatch_3
(t *testing.T)
pkg/agl/codegen_match_test.go:46
FunctionTestCodeGen_55
(t *testing.T)
pkg/agl/codegen_test.go:1918
FunctionTestCodeGen_Enum2
(t *testing.T)
pkg/agl/codegen_test.go:1688
FunctionTestCodeGen_Enum3
(t *testing.T)
pkg/agl/codegen_test.go:1745
FunctionTestCodeGen_Enum4
(t *testing.T)
pkg/agl/codegen_test.go:1798
FunctionTestCodeGen_ErrPropagationInOption
(t *testing.T)
pkg/agl/codegen_test.go:2030
FunctionTestCodeGen_FunctionImplicitReturn
func TestCodeGen62(t *testing.T) { src := `package main func maybeInt() int? { return Some(42) } func getInt() int! { return Ok(42) } func main() {
pkg/agl/codegen_test.go:2221
FunctionTestCodeGen_IteratorFilterMap
(t *testing.T)
pkg/agl/codegen_test.go:15804
FunctionTestCodeGen_MutAliasError
func TestCodeGen_native_multi_values(t *testing.T) { src := `package agl func test() (int, int) { return 1, 2 } ` expected := `// agl:gener
pkg/agl/codegen_test.go:15761
FunctionTestCodeGen_MutAliasOK
(t *testing.T)
pkg/agl/codegen_test.go:15777
FunctionTestCodeGen_OperatorOverloading
func TestCodeGen_GenericMethod(t *testing.T) { src := ` type Person struct { } fn (p Person) speak[T any, U any](a T, b U) string { fmt.Println(a) }
pkg/agl/codegen_test.go:1883
FunctionTestCodeGen_OsArgs
(t *testing.T)
pkg/agl/codegen_test.go:15602
FunctionTestCodeGen_OsArgsWithResult
(t *testing.T)
pkg/agl/codegen_test.go:15638
FunctionTestCodeGen_Reduce1
(t *testing.T)
pkg/agl/codegen_test.go:967
FunctionTestCodeGen_Tmp
func TestCodeGen411(t *testing.T) { src := `package main func main() { a := []int{1, 2, 3} b := []string{"a", "b", "c"} for e := range zip2(a, b)
pkg/agl/codegen_test.go:15593
FunctionTestCodeGen_Tuple1
(t *testing.T)
pkg/agl/codegen_test.go:1054
FunctionTestCodeGen_Tuple2
(t *testing.T)
pkg/agl/codegen_test.go:1122
FunctionTestCodeGen_TupleDestructuring1
(t *testing.T)
pkg/agl/codegen_test.go:1089
FunctionTestCodeGen_TypeAssertion
(t *testing.T)
pkg/agl/codegen_test.go:2082
FunctionTestCodeGen_ValueSpec2
func TestCodeGen_ValueSpec1(t *testing.T) { src := `package main func main() { var a int? = None } ` expected := `// agl:generated package main fun
pkg/agl/codegen_test.go:2293
FunctionTestCodeGen_Variadic1
func TestCodeGen39(t *testing.T) { src := ` type Person struct { name string } fn (p Person) getName() string { return p.name } ` expected := `ty
pkg/agl/codegen_test.go:1252
FunctionTestCodeGen_VecBuiltInFilter2
(t *testing.T)
pkg/agl/codegen_test.go:777
FunctionTestCodeGen_VecBuiltInFilter3
(t *testing.T)
pkg/agl/codegen_test.go:802
FunctionTestCodeGen_VecBuiltInFilter4
(t *testing.T)
pkg/agl/codegen_test.go:827
FunctionTestCodeGen_VecBuiltInMap1
(t *testing.T)
pkg/agl/codegen_test.go:862
FunctionTestCodeGen_VecBuiltInMap2
(t *testing.T)
pkg/agl/codegen_test.go:904
FunctionTestCodeGen_VecBuiltInMap3
(t *testing.T)
pkg/agl/codegen_test.go:883
FunctionTestCodeGen_WcExample
(t *testing.T)
pkg/agl/codegen_test.go:15676
FunctionTestInfer1
(t *testing.T)
pkg/agl/infer_test.go:104
FunctionTestInfer10
(t *testing.T)
pkg/agl/infer_test.go:226
FunctionTestInfer11
(t *testing.T)
pkg/agl/infer_test.go:240
FunctionTestInfer12
(t *testing.T)
pkg/agl/infer_test.go:255
FunctionTestInfer13
(t *testing.T)
pkg/agl/infer_test.go:273
FunctionTestInfer14
(t *testing.T)
pkg/agl/infer_test.go:291
FunctionTestInfer15
(t *testing.T)
pkg/agl/infer_test.go:312
FunctionTestInfer16
(t *testing.T)
pkg/agl/infer_test.go:325
FunctionTestInfer17
(t *testing.T)
pkg/agl/infer_test.go:337
FunctionTestInfer18
(t *testing.T)
pkg/agl/infer_test.go:349
FunctionTestInfer19
(t *testing.T)
pkg/agl/infer_test.go:364
FunctionTestInfer2
(t *testing.T)
pkg/agl/infer_test.go:116
FunctionTestInfer20
(t *testing.T)
pkg/agl/infer_test.go:375
FunctionTestInfer21
(t *testing.T)
pkg/agl/infer_test.go:386
FunctionTestInfer22
(t *testing.T)
pkg/agl/infer_test.go:397
FunctionTestInfer23
(t *testing.T)
pkg/agl/infer_test.go:409
FunctionTestInfer24
(t *testing.T)
pkg/agl/infer_test.go:426
FunctionTestInfer3
(t *testing.T)
pkg/agl/infer_test.go:127
FunctionTestInfer4
(t *testing.T)
pkg/agl/infer_test.go:145
FunctionTestInfer5
(t *testing.T)
pkg/agl/infer_test.go:162
FunctionTestInfer6
(t *testing.T)
pkg/agl/infer_test.go:174
FunctionTestInfer7
(t *testing.T)
pkg/agl/infer_test.go:186
FunctionTestInfer8
(t *testing.T)
pkg/agl/infer_test.go:203
FunctionTestInfer9
(t *testing.T)
pkg/agl/infer_test.go:216
FunctionTestInferBubbleResultOnNativeTuple
(t *testing.T)
pkg/agl/infer_test.go:589
FunctionTestInferOptionMapNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:471
FunctionTestInferOsArgs
func TestInfer1(t *testing.T) { src := ` fn fn1(a, b int) int { return a + b } fn fn2(a, b i64) i64 { return a + b } fn fn3(a, b i32) i32 { return a
pkg/agl/infer_test.go:558
FunctionTestInferOsArgsMethodCall
(t *testing.T)
pkg/agl/infer_test.go:576
FunctionTestInferReduceNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:445
FunctionTestInferReduceNamedFuncMismatch
(t *testing.T)
pkg/agl/infer_test.go:458
FunctionTestInferSortedByNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:485
FunctionTestReplGen
(t *testing.T)
pkg/types/types_test.go:9
FunctionTryCast
TryCast ...
pkg/utils/utils.go:37
FunctionTryCast
TryCast ...
pkg/agl/utils.go:181
FunctionTryCast
TryCast ...
language_server/main.go:287
MethodUnwrap
()
pkg/agl/core/core.go:147
MethodUnwrapOr
(d T)
pkg/agl/core/core.go:97
MethodUnwrapOr
(d T)
pkg/agl/core/core.go:158
MethodUnwrapOrDefault
()
pkg/agl/core/core.go:104
MethodUnwrapOrDefault
()
pkg/agl/core/core.go:165
MethodUpdate
Update replaces an old node in the comment map with the new node and returns the new node. Comments that were associated with the old node are associa
pkg/ast/commentmap.go:229
MethodVisit
(node ast.Node)
pkg/parser/resolver.go:250
MethodVisit
(node Node)
pkg/ast/walk.go:460
MethodWrite
Write calls encode to serialize the file set s.
pkg/token/serialize.go:48
MethodWrite
(p []byte)
language_server/main.go:651
Method__EQ
(rhs T)
experiments/equatable_vec/main.go:31
← previousnext →2,001–2,100 of 2,276, ranked by callers