Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/despiteallobjections/amigo
/ functions
Functions
3,220 in github.com/despiteallobjections/amigo
⨍
Functions
3,220
◇
Types & classes
1,592
↓ 7 callers
Method
Val
()
types/testdata/fixedbugs/issue39754.go:12
↓ 7 callers
Function
WriteType
WriteType writes the string representation of typ to buf. The Qualifier controls the printing of package-level objects, and may be nil.
types/typestring.go:65
↓ 7 callers
Method
address
loads the contents of the location
types/lvalue.go:21
↓ 7 callers
Function
anonVar
anonVar creates an anonymous 'var' for use in a types.Tuple.
types/util.go:65
↓ 7 callers
Function
assert
(actual, expected int)
ssa/interp/testdata/mrvchain.go:6
↓ 7 callers
Method
at
at returns the type set for the i'th type parameter; or nil.
types/unify.go:224
↓ 7 callers
Function
bindTParams
---------------------------------------------------------------------------- Implementation
types/typelists.go:58
↓ 7 callers
Method
color
color returns the object's color.
types/object.go:40
↓ 7 callers
Function
concat
concat returns the result of concatenating list and i. The result does not share its underlying array with list.
types/lookup.go:483
↓ 7 callers
Method
defLocal
(id *Name)
types/func.go:397
↓ 7 callers
Method
e
()
types/testdata/check/cycles3.go:41
↓ 7 callers
Method
emitDebugRef
emitDebugRef emits to f a DebugRef pseudo-instruction associating expression e with value v.
types/emit.go:39
↓ 7 callers
Method
error
(msg string)
types/typestring.go:113
↓ 7 callers
Function
f1
()
types/testdata/check/issues0.go:52
↓ 7 callers
Method
funcType
If context != "", type parameters are not permitted.
syntax/parser.go:1361
↓ 7 callers
Function
gccgoToSymbol
gccgoToSymbol converts a name to a mangled symbol for gccgo.
cgotool/out.go:1201
↓ 7 callers
Function
gofmtPos
gofmtPos returns the gofmt-formatted string for an AST node, with a comment setting the position before the node.
cgotool/gcc.go:1541
↓ 7 callers
Method
hash
(t types.Type)
ssa/interp/map.go:19
↓ 7 callers
Method
iface
iface returns the constraint interface of t.
types/typeparam.go:104
↓ 7 callers
Method
int
()
types/reader.go:22
↓ 7 callers
Method
int
(x int)
types/writer.go:31
↓ 7 callers
Function
isInterface
Type utilities. Some of these belong in github.com/despiteallobjections/amigo/types.
types/util.go:29
↓ 7 callers
Method
isNil
isNil reports whether the expression e denotes the predeclared value nil.
types/stmt.go:271
↓ 7 callers
Method
m1
()
types/testdata/check/decls0.go:136
↓ 7 callers
Function
makeReflectType
makeReflectType boxes up an rtype in a reflect.Type interface.
ssa/interp/reflect.go:66
↓ 7 callers
Function
newVar
newVar creates a 'var' for use in a types.Tuple.
types/util.go:60
↓ 7 callers
Method
obj
()
types/reader.go:33
↓ 7 callers
Method
oliteral
()
syntax/parser.go:1693
↓ 7 callers
Method
openScope
(node Node, comment string)
types/stmt.go:159
↓ 7 callers
Function
recvType
recvType returns the receiver type of method obj.
types/util.go:40
↓ 7 callers
Method
setColor
setColor sets the object's color. It must not be white.
types/object.go:49
↓ 7 callers
Method
string
()
types/reader.go:24
↓ 7 callers
Method
typ
(typ Type)
types/typestring.go:120
↓ 7 callers
Method
walk
walk walks the AST x, calling visit(f, x, context) for each node.
cgotool/ast.go:333
↓ 6 callers
Method
Add
(T)
types/testdata/examples/types.go:203
↓ 6 callers
Function
Default
()
importer/default.go:16
↓ 6 callers
Method
Error
()
ssa/interp/testdata/boundmeth.go:99
↓ 6 callers
Function
Fprint
Fprint prints node x to w in the specified form. It returns the number of bytes written, and whether there was an error.
syntax/printer.go:27
↓ 6 callers
Method
Imports
Imports returns the list of packages directly imported by pkg; the list is in source order. If pkg was loaded from export data, Imports includes pack
types/package.go:63
↓ 6 callers
Method
Insert
(pos int, new string)
edit/edit.go:45
↓ 6 callers
Method
Iterate
Iterate calls function f on each entry in the map in unspecified order. If f should mutate the map, Iterate provides the same guarantees as Go maps:
types/typemap.go:146
↓ 6 callers
Method
LookupParent
LookupParent follows the parent chain of scopes starting with s until it finds a scope where Lookup(name) returns a non-nil object, and then returns t
types/scope.go:85
↓ 6 callers
Function
NewArray
NewArray returns a new array type for the given element type and length. A negative length indicates an unknown length.
types/array.go:15
↓ 6 callers
Function
NewField
NewField returns a new variable representing a struct field. For embedded fields, the name is the unqualified type name under which the field is acces
types/object.go:345
↓ 6 callers
Function
NewParam
NewParam returns a new variable representing a function parameter.
types/object.go:338
↓ 6 callers
Function
NewScope
NewScope returns a new, empty scope contained in the given parent scope, if any. The comment is for debugging only.
types/scope.go:35
↓ 6 callers
Method
Variadic
Variadic reports whether the signature s is variadic.
types/signature.go:83
↓ 6 callers
Function
allInteger
(t Type)
types/predicates.go:38
↓ 6 callers
Method
assign
(e Expr, addressLoc bool, locType Type, isZero bool)
types/builder.go:712
↓ 6 callers
Method
assignableTo
assignableTo reports whether x is assignable to a variable of type T. If the result is false and a non-nil reason is provided, it may be set to a more
types/operand.go:246
↓ 6 callers
Method
async
(fn func())
syntax/parser.go:2810
↓ 6 callers
Method
bestContext
bestContext returns the best available context. In order of preference: - the given ctxt, if non-nil - check.ctxt, if check is non-nil - a new Context
types/named.go:343
↓ 6 callers
Method
c
()
types/testdata/check/cycles1.go:19
↓ 6 callers
Method
checkLinks
(open int)
syntax/parser.go:2835
↓ 6 callers
Method
clearPragma
clearPragma is called at the end of a statement or other Go form that does NOT accept a pragma. It sends the pragma back to the pragma handler to be r
syntax/parser.go:116
↓ 6 callers
Function
colorFor
colorFor returns the (initial) color for an object depending on whether its type t is known or not.
types/object.go:125
↓ 6 callers
Function
computeInterfaceTypeSet
computeInterfaceTypeSet may be called with check == nil.
types/typeset.go:154
↓ 6 callers
Method
declaredFunc
declaredFunc returns the concrete function/method denoted by obj. Panic ensues if there is none.
types/methods.go:119
↓ 6 callers
Method
disjoint
disjoint reports whether x ∩ y == ∅. x.typ and y.typ must not be nil.
types/typeterm.go:153
↓ 6 callers
Method
exprTODO
()
types/reader.go:34
↓ 6 callers
Method
exprTODO
(expr Expr)
types/writer.go:43
↓ 6 callers
Function
f
This file is the input to TestValueForExpr in source_test.go, which ensures that each expression e immediately following a /*@kind*/(x) annotation, wh
ssa/testdata/valueforexpr.go:11
↓ 6 callers
Function
f
()
ssa/interp/testdata/slice2arrayptr.go:39
↓ 6 callers
Method
f
()
types/testdata/check/cycles3.go:46
↓ 6 callers
Method
f
(x int, y ...string)
ssa/interp/testdata/coverage.go:359
↓ 6 callers
Function
f8
(A, B, ...B)
types/testdata/check/typeparams.go:313
↓ 6 callers
Function
fi
(x ... interface{})
types/testdata/check/expr3.go:477
↓ 6 callers
Method
fieldList
(list []*Field)
syntax/walk.go:363
↓ 6 callers
Function
g
()
types/testdata/check/vardecl.go:10
↓ 6 callers
Function
g1
()
types/testdata/check/expr3.go:481
↓ 6 callers
Function
g3
(*T, ...T)
types/testdata/examples/functions.go:174
↓ 6 callers
Function
isExported
(name string)
types/object.go:64
↓ 6 callers
Function
isInterfacePtr
(T Type)
types/lookup.go:398
↓ 6 callers
Method
load
stores v into the location
types/lvalue.go:20
↓ 6 callers
Function
lookupFieldOrMethod
TODO(gri) The named type consolidation and seen maps below must be indexed by unique keys for a given type. Verify that named types always have only o
types/lookup.go:95
↓ 6 callers
Function
next
()
ssa/interp/testdata/initorder.go:9
↓ 6 callers
Function
nilConst
nilConst returns a nil constant of the specified type, which may be any reference type, including interfaces.
types/const.go:33
↓ 6 callers
Method
node
(n Node)
syntax/walk.go:71
↓ 6 callers
Method
packageLevelValue
packageLevelValue returns the package-level value corresponding to the specified named object, which may be a package-level const (*Const), var (*Glob
types/source.go:30
↓ 6 callers
Method
paramList
Parameters = "(" [ ParameterList [ "," ] ] ")" . ParameterList = ParameterDecl { "," ParameterDecl } . "(" or "[" has already been consumed. If nam
syntax/parser.go:1976
↓ 6 callers
Method
posAt
posAt returns the Pos value for (line, col) and the current position base.
syntax/tape.go:159
↓ 6 callers
Method
print
(msg string)
syntax/parser.go:286
↓ 6 callers
Method
processDelayed
processDelayed processes all delayed actions pushed after top.
types/check.go:373
↓ 6 callers
Function
resolve
resolve returns the Object represented by obj, resolving lazy objects as appropriate.
types/scope.go:252
↓ 6 callers
Method
segment
()
syntax/source.go:67
↓ 6 callers
Function
split
(s string, n int)
types/typeterm_test.go:35
↓ 6 callers
Function
sprintf
(qf Qualifier, debug bool, format string, args ...interface{})
types/errors.go:89
↓ 6 callers
Method
stmt
stmt lowers statement s to SSA form, emitting code to fn.
types/builder.go:2671
↓ 6 callers
Method
takePragma
takePragma returns the current parsed pragmas and clears them from the parser state.
syntax/parser.go:105
↓ 6 callers
Function
tokstring
tokstring returns the English word for selected punctuation tokens for more readable error messages. Use tokstring (not tok.String()) for user-facing
syntax/parser.go:203
↓ 6 callers
Method
typ
(typ Type)
types/subst.go:82
↓ 6 callers
Method
typeOf
Like TypeOf, but panics instead of returning nil. Only valid during p's create and build phases.
types/builder.go:3063
↓ 6 callers
Method
under
---------------------------------------------------------------------------- Implementation under returns the expanded underlying type of n0; possibly
types/named.go:250
↓ 5 callers
Method
Add
Add adds a new pragma. The text is the directive, with the "//" prefix stripped.
syntax/syntax.go:49
↓ 5 callers
Method
Common
()
types/ssa.go:1354
↓ 5 callers
Method
CreatePackage
CreatePackage constructs and returns an SSA Package from the specified type-checked, error-free file ASTs, and populates its Members mapping. importa
types/create.go:92
↓ 5 callers
Method
Empty
Empty reports whether the result of String would be "".
cgotool/gcc.go:2239
↓ 5 callers
Function
HasSrc
()
testenv/testenv.go:22
↓ 5 callers
Method
Indirect
Indirect reports whether any pointer indirection was required to get from x to f in x.f.
types/selection.go:109
↓ 5 callers
Function
New
New returns a new Importer for the given context, file set, and map of packages. The context is used to resolve import paths to package paths, and ide
srcimporter/srcimporter.go:35
← previous
next →
301–400 of 3,220, ranked by callers