MCPcopy Create free account

hub / github.com/despiteallobjections/amigo / functions

Functions3,220 in github.com/despiteallobjections/amigo

↓ 4 callersMethodexclude
exclude reports an error if x.mode is in modeset and sets x.mode to invalid. The modeset may contain any of 1<<novalue, 1<<builtin, 1<<typexpr.
types/expr.go:1809
↓ 4 callersMethodexprList
(elist []Expr, allowCommaOk bool)
types/call.go:242
↓ 4 callersMethodexprOrType
exprOrType typechecks expression or type e and initializes x with the expression value or type. If allowGeneric is set, the operand type may be an uni
types/expr.go:1801
↓ 4 callersMethodf
(u)
types/testdata/check/cycles2.go:12
↓ 4 callersFunctionf0
()
types/testdata/check/expr3.go:472
↓ 4 callersMethodfuncString
funcString returns a string of the form name + signature for f. check may be nil.
types/lookup.go:414
↓ 4 callersFunctiongofmtLine
gofmtLine returns the gofmt-formatted string for an AST node, ensuring that it is on a single line.
cgotool/godefs.go:169
↓ 4 callersMethodhasTerms
---------------------------------------------------------------------------- Implementation hasTerms reports whether the type set has specific type te
types/typeset.go:103
↓ 4 callersMethodimplicitTypeAndValue
implicitTypeAndValue returns the implicit type of x when used in a context where the target type is expected. If no such implicit conversion is possib
types/expr.go:689
↓ 4 callersFunctionimported
Returns initially imported packages, as a string.
loader/loader_test.go:813
↓ 4 callersMethodincludes
includes reports whether t ∈ x.
types/typeterm.go:107
↓ 4 callersMethodindex
index checks an index expression for validity. If max >= 0, it is the upper bound for index. If the result typ is != Typ[Invalid], index is valid and
types/index.go:351
↓ 4 callersMethodinitVar
(lhs *Var, x *operand, context string)
types/assignments.go:137
↓ 4 callersMethodinsert
(name string, obj Object)
types/scope.go:126
↓ 4 callersMethodinstanceHash
instanceHash returns a string representation of typ instantiated with targs. The hash should be a perfect hash, though out of caution the type checker
types/context.go:44
↓ 4 callersMethodintExpr
Expr for integer n.
cgotool/gcc.go:2852
↓ 4 callersMethodintersect
intersect returns the intersection x ∩ y.
types/typeterm.go:79
↓ 4 callersFunctionisConstType
(t Type)
types/predicates.go:21
↓ 4 callersFunctionisEmpty
(f *types.Function)
types/builder_test.go:22
↓ 4 callersFunctionisStructUnionClass
isStructUnionClass reports whether the type described by the Go syntax x is a struct, union, or class with a tag.
cgotool/gcc.go:2742
↓ 4 callersFunctionlastField
(list []*Field)
syntax/positions.go:360
↓ 4 callersMethodlist
---------------------------------------------------------------------------- Declarations list parses a possibly empty, sep-separated list of elements
syntax/parser.go:387
↓ 4 callersMethodm
()
types/testdata/check/cycles4.go:32
↓ 4 callersMethodmarkComplete
---------------------------------------------------------------------------- Implementation
types/struct.go:61
↓ 4 callersFunctionmixed
(T1, T2, T3)
types/testdata/examples/inference.go:40
↓ 4 callersMethodnewInterface
check may be nil
types/interface.go:57
↓ 4 callersMethodnewNamed
newNamed is like NewNamed but with a *Checker receiver and additional orig argument.
types/named.go:66
↓ 4 callersFunctionnewTypeList
newTypeList returns a new TypeList with the types in list.
types/typelists.go:31
↓ 4 callersMethodopenScopeUntil
(node Node, end Pos, comment string)
types/stmt.go:163
↓ 4 callersMethodp1
()
types/testdata/check/methodsets.go:15
↓ 4 callersFunctionparse
(name string, src []byte, flags parser.Mode)
cgotool/ast.go:19
↓ 4 callersMethodpm
()
types/testdata/check/typeinst1.go:144
↓ 4 callersFunctionprintCall
(v *CallCommon, prefix string, instr Instruction)
types/print.go:115
↓ 4 callersMethodprintParameterList
(list []*Field, types bool)
syntax/printer.go:826
↓ 4 callersMethodrecordImplicit
(node Node, obj Object)
types/check.go:556
↓ 4 callersMethodrecordSelection
(x *SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool)
types/check.go:564
↓ 4 callersFunctionrelated2
(e Elem, s Slice)
types/testdata/examples/inference.go:81
↓ 4 callersFunctionrepresentableConst
representableConst reports whether x can be represented as value of the given basic type and for the configuration provided (only needed for int/uint
types/expr.go:286
↓ 4 callersFunctionsat32
(x uint)
syntax/pos.go:208
↓ 4 callersMethodsetLit
setLit sets the scanner state for a recognized _Literal token.
syntax/scanner.go:73
↓ 4 callersMethodsignature
(sig *Signature)
types/typestring.go:440
↓ 4 callersMethodsimpleStmt
(s Stmt)
types/stmt.go:103
↓ 4 callersMethodsingleValue
singleValue reports an error if x describes a tuple and sets x.mode to invalid.
types/expr.go:1832
↓ 4 callersMethodskipComment
()
syntax/scanner.go:785
↓ 4 callersMethodskipLine
()
syntax/scanner.go:743
↓ 4 callersFunctiontestDirFiles
(t *testing.T, dir string, colDelta uint, manual bool)
types/check_test.go:305
↓ 4 callersFunctiontypeString
(typ Type, qf Qualifier, debug bool)
types/typestring.go:54
↓ 4 callersMethodtypes
types returns the list of inferred types (via unification) for the type parameters described by d, and an index. If all types were inferred, the retur
types/unify.go:266
↓ 4 callersMethodtypesSummary
typesSummary returns a string of the form "(t1, t2, ...)" where the ti's are user-friendly string representations for the given types. If variadic is
types/assignments.go:266
↓ 4 callersFunctionunderIs
If typ is a type parameter, underIs returns the result of typ.underIs(f). Otherwise, underIs returns the result of f(under(typ)).
types/expr.go:159
↓ 4 callersMethodunexpected
(what string, p poser)
types/builder.go:87
↓ 4 callersMethodupdate
update de-duplicates n against previously seen types with the hash h. If an identical type is found with the type hash h, the previously seen type is
types/context.go:87
↓ 4 callersMethodv1
like T0 with different method names
types/testdata/check/methodsets.go:14
↓ 4 callersMethodvalidCycle
validCycle reports whether the cycle starting with obj is valid and reports an error if it is not.
types/decl.go:210
↓ 4 callersMethodvm
()
types/testdata/check/typeinst1.go:143
↓ 4 callersMethodwrite
write is a thin wrapper around p.output.Write that takes care of accounting and error handling.
syntax/printer.go:92
↓ 4 callersMethodx
()
ssa/interp/testdata/methprom.go:7
↓ 3 callersMethodAddressable
Addressable reports whether the corresponding expression is addressable (https://golang.org/ref/spec#Address_operators).
types/api.go:338
↓ 3 callersFunctionAssignableTo
AssignableTo reports whether a value of type V is assignable to a variable of type T. The behavior of AssignableTo is undefined if V or T is an unins
types/api.go:420
↓ 3 callersFunctionBuilder
()
testenv/testenv.go:16
↓ 3 callersFunctionDefPredeclaredTestFuncs
DefPredeclaredTestFuncs defines the assert and trace built-ins. These built-ins are intended for debugging and testing of this package only.
types/universe.go:219
↓ 3 callersMethodEmpty
Empty reports whether t is the empty interface.
types/interface.go:94
↓ 3 callersMethodExported
object type
types/object.go:27
↓ 3 callersFunctionId
Id returns name if it is exported, otherwise it returns the name qualified with the package path.
types/object.go:71
↓ 3 callersFunctionIdenticalIgnoreTags
IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored. Receivers of Signature types are ignored.
types/api.go:461
↓ 3 callersMethodImported
Imported returns the package that was imported. It is distinct from Pkg(), which is the package containing the import statement.
types/object.go:242
↓ 3 callersMethodInnermost
Innermost returns the innermost (child) scope containing pos. If pos is not within any scope, the result is nil. The result is also nil for the Univer
types/scope.go:187
↓ 3 callersMethodIsType
IsType reports whether the corresponding expression specifies a type.
types/api.go:308
↓ 3 callersMethodIsValue
IsValue reports whether the corresponding expression is a value. Builtins are not considered values. Constant values have a non- nil Value.
types/api.go:321
↓ 3 callersMethodLen
Len returns the number of methods in s.
types/methodset.go:37
↓ 3 callersMethodLookupMethod
LookupMethod returns the implementation of the method of type T identified by (pkg, name). It returns nil if the method exists but is abstract, and p
types/methods.go:45
↓ 3 callersFunctionMakeHasher
MakeHasher returns a new Hasher instance.
types/typemap.go:216
↓ 3 callersMethodMethodValue
MethodValue returns the Function implementing method sel, building wrapper methods on demand. It returns nil if sel denotes an abstract (interface) m
types/methods.go:23
↓ 3 callersMethodName
Name returns the package name.
types/package.go:34
↓ 3 callersMethodName
package to which this object belongs; nil for labels and objects in the Universe scope
types/object.go:25
↓ 3 callersFunctionNeedsGoPackages
(t testing.TB)
testenv/testenv.go:20
↓ 3 callersFunctionNeedsTool
(t testing.TB, tool string)
testenv/testenv.go:24
↓ 3 callersFunctionNewConst
NewConst returns a new constant with value val. The remaining arguments set the attributes found with all Objects.
types/object.go:252
↓ 3 callersFunctionNewProgram
NewProgram returns a new SSA Program. mode controls diagnostics and checking during SSA construction.
types/create.go:22
↓ 3 callersMethodNext
Next returns the next key and value pair, and a boolean indicating whether they are valid or whether we have reached the end.
types/testdata/check/map0.go:105
↓ 3 callersMethodObject
like String, but relative refs are unqualified
types/ssa.go:67
↓ 3 callersMethodObjectOf
ObjectOf returns the object denoted by the specified id, or nil if not found. If id is an embedded struct field, ObjectOf returns the field (*Var) it
types/api.go:286
↓ 3 callersFunctionPackages
Packages creates an SSA program for a set of packages. The packages must have been loaded from source syntax using the golang.org/x/tools/go/packages
ssa/ssautil/load.go:37
↓ 3 callersMethodRecvTypeParams
RecvTypeParams returns the receiver type parameters of signature s, or nil.
types/signature.go:74
↓ 3 callersFunctionReduce
Reduce reduces a []T1 to a single value using a reduction function.
types/testdata/check/slices.go:18
↓ 3 callersFunctionReverse
Reverse is a generic function that takes a []T argument and reverses that slice in place.
types/testdata/examples/functions.go:11
↓ 3 callersFunctionSplit
Split splits s into a list of fields, allowing single or double quotes around elements. There is no unescaping or other processing within quoted field
quoted/quoted.go:23
↓ 3 callersMethodString
String returns a string representation of the map's entries. Values are printed using fmt.Sprintf("%v", v). Order is unspecified.
types/typemap.go:191
↓ 3 callersMethodString
String is for testing.
types/errors.go:76
↓ 3 callersMethodTake
Take returns the current Pragma to apply to the next package, import, const, func, type, or var declaration.
syntax/syntax.go:53
↓ 3 callersMethodVisit
(node Node)
syntax/walk.go:64
↓ 3 callersMethoda
()
types/testdata/check/cycles1.go:9
↓ 3 callersFunctionaddEdge
addEdge adds a control-flow graph edge from from to to.
types/func.go:20
↓ 3 callersMethodaddFiles
addFiles adds and type-checks the specified files to info, loading their dependencies if needed. The order of files determines the package initializa
loader/loader.go:1045
↓ 3 callersMethodaddParam
(obj *Var, spill bool)
types/func.go:188
↓ 3 callersFunctionall
Returns all loaded packages.
loader/loader_test.go:803
↓ 3 callersFunctionallString
(t Type)
types/predicates.go:41
↓ 3 callersMethodappendError
(err error)
loader/loader.go:186
↓ 3 callersFunctionarrayPtrDeref
arrayPtrDeref returns A if typ is of the form *A and A is an array; otherwise it returns typ.
types/builtins.go:874
↓ 3 callersMethodarrayType
"[" has already been consumed, and pos is its position, and open is its tape index. If len != nil it is the already consumed array length.
syntax/parser.go:1399
← previousnext →501–600 of 3,220, ranked by callers