MCPcopy Create free account

hub / github.com/despiteallobjections/amigo / functions

Functions3,220 in github.com/despiteallobjections/amigo

↓ 5 callersFunctionNewContext
NewContext creates a new Context.
types/context.go:34
↓ 5 callersFunctionNewMethodSet
Note: NewMethodSet is intended for external use only as it requires interfaces to be complete. It may be used internally if LookupFieldOrMethod comple
types/methodset.go:72
↓ 5 callersFunctionNewTypeParam
NewTypeParam returns a new TypeParam. Type parameters may be set on a Named or Signature type by calling SetTypeParams. Setting a type parameter on mo
types/typeparam.go:36
↓ 5 callersMethodOpaque
Opaque type of n bytes.
cgotool/gcc.go:2844
↓ 5 callersFunctionParseReader
Convenience functions.
syntax/syntax.go:119
↓ 5 callersMethodRelLine
()
syntax/pos.go:37
↓ 5 callersMethodSetUnderlying
SetUnderlying sets the underlying type and marks t as complete. t must not have type arguments.
types/named.go:201
↓ 5 callersMethodadd
(inherit methods from Int) add adds b to the set and returns true if the set changed.
types/lift.go:349
↓ 5 callersMethodaddDeclDep
addDeclDep adds the dependency edge (check.decl -> to) if check.decl exists
types/check.go:141
↓ 5 callersMethodaddField
(styp *StructType, pos Pos, name *Name, typ Expr, tag *BasicLit)
syntax/parser.go:1556
↓ 5 callersFunctionaddr
()
ssa/interp/testdata/methprom.go:59
↓ 5 callersMethodassignVar
(lhs Expr, x *operand)
types/assignments.go:172
↓ 5 callersMethodb
()
types/testdata/check/cycles1.go:14
↓ 5 callersFunctionbase
base strips away qualifiers and typedefs to get the underlying type
cgotool/gcc.go:2181
↓ 5 callersMethodblockStmt
context must be a non-empty string unless we know that p.tok == _Lbrace.
syntax/parser.go:2236
↓ 5 callersFunctioncall
call interprets a call to a function (function, builtin or closure) fn with arguments args, returning its result. callpos is the position of the calls
ssa/interp/interp.go:457
↓ 5 callersFunctionderef
deref returns a pointer's element type; otherwise it returns typ. TODO(adonovan): Import from ssa?
ssa/interp/interp.go:705
↓ 5 callersMethodemitCompare
emitCompare emits to f code compute the boolean result of comparison comparison 'x op y'.
types/emit.go:90
↓ 5 callersMethodemitNew
emitNew emits to f a new (heap Alloc) instruction allocating an object of type typ. pos is the optional source location.
types/emit.go:18
↓ 5 callersFunctioneql
(x, y T)
types/testdata/check/issues1.go:12
↓ 5 callersMethoderr
(at poser, msg string, soft bool)
types/errors.go:211
↓ 5 callersFunctionfs
(s []byte)
types/testdata/check/expr3.go:475
↓ 5 callersFunctiong2
()
types/testdata/check/expr3.go:482
↓ 5 callersFunctiongofmt
gofmt returns the gofmt-formatted string for an AST node.
cgotool/godefs.go:121
↓ 5 callersMethodgotAssign
gotAssign is like got(_Assign) but it also accepts ":=" (and reports an error) for better parser error recovery.
syntax/parser.go:139
↓ 5 callersFunctionhasBreakList
(list []Stmt, label string, implicit bool)
types/return.go:159
↓ 5 callersFunctionhasNil
hasNil reports whether type t includes the nil value.
types/predicates.go:156
↓ 5 callersMethodimplements
implements checks if V implements T and reports an error if it doesn't. The receiver may be nil if implements is called through an exported API call s
types/instantiate.go:157
↓ 5 callersMethodinsert
initialized lazily insert attempts to insert an object obj into objset s. If s already contains an alternative object alt with the same name, insert l
types/objset.go:21
↓ 5 callersFunctionisBoolean
The isX predicates below report whether t is an X. If t is a type parameter the result is false; i.e., these predicates don't look inside a type param
types/predicates.go:13
↓ 5 callersFunctionisComplex
(t Type)
types/predicates.go:17
↓ 5 callersFunctionisDecimal
(ch rune)
syntax/scanner.go:449
↓ 5 callersFunctionisGeneric
isGeneric reports whether a type is a generic, uninstantiated type (generic signatures are not included). TODO(gri) should we include signatures or as
types/predicates.go:102
↓ 5 callersFunctionisNonTypeParamInterface
isNonTypeParamInterface reports whether t is an interface type but not a type parameter.
types/predicates.go:89
↓ 5 callersFunctionlogStack
logStack prints the formatted "start" message to stderr and returns a closure that prints the corresponding "end" message. Call using 'defer logStack(
types/util.go:49
↓ 5 callersFunctionnameKeys
(m map[string]*Name)
cgotool/main.go:77
↓ 5 callersFunctionnewDefined
newDefined creates a new defined type named T with the given underlying type.
types/api_test.go:1827
↓ 5 callersFunctionnewTypeWriter
(buf *bytes.Buffer, qf Qualifier)
types/typestring.go:86
↓ 5 callersMethodobj
(obj Object)
types/writer.go:42
↓ 5 callersMethodop
(op Operator)
types/writer.go:37
↓ 5 callersMethodorder
order reflects a package-level object's source order: if object a is before object b in the source, then a.order() < b.order(). order returns a value
types/object.go:37
↓ 5 callersMethodp2
()
types/testdata/check/methodsets.go:19
↓ 5 callersMethodpos
pos returns the (line, col) source position of s.ch.
syntax/source.go:53
↓ 5 callersFunctionprintConv
(prefix string, v, x Value)
types/print.go:153
↓ 5 callersMethodreceiver
(e Expr, wantAddr, escaping bool, sel *Selection)
types/builder.go:1381
↓ 5 callersMethodrecordInstance
recordInstance records instantiation information into check.Info, if the Instances map is non-nil. The given expr must be an ident, selector, or index
types/check.go:515
↓ 5 callersFunctionrelated1
(s Slice, e Elem)
types/testdata/examples/inference.go:57
↓ 5 callersMethodsameId
sameId reports whether obj.Id() and Id(pkg, name) are the same.
types/object.go:55
↓ 5 callersMethodset
set sets the type typ for the i'th type parameter; typ must not be nil and it must not have been set before.
types/unify.go:233
↓ 5 callersMethodsetCall
setCall emits to fn code to evaluate all the parameters of a function call e, and populates *c with those values.
types/builder.go:1594
↓ 5 callersMethodsizeof
(T Type)
types/sizes.go:259
↓ 5 callersMethodstmtList
(ctxt stmtContext, list []Stmt)
types/stmt.go:118
↓ 5 callersMethodstop
()
syntax/source.go:66
↓ 5 callersFunctiontoString
Implements printing of Go values in the style of built-in println.
ssa/interp/value.go:463
↓ 5 callersFunctiontparamIndex
If tpar is a type parameter in list, tparamIndex returns the type parameter index. Otherwise, the result is < 0. tpar must not be nil.
types/unify.go:197
↓ 5 callersMethodupdateExprType
updateExprType updates the type of x to typ and invokes itself recursively for the operands of x, depending on expression kind. If typ is still an unt
types/expr.go:508
↓ 5 callersMethodv2
()
types/testdata/check/methodsets.go:18
↓ 5 callersFunctionvalue
()
ssa/interp/testdata/methprom.go:63
↓ 4 callersMethodAbs
()
types/testdata/check/typeinst1.go:85
↓ 4 callersMethodAnonymous
Anonymous reports whether the variable is an embedded field. Same as Embedded; only present for backward-compatibility.
types/object.go:351
↓ 4 callersFunctionCrawl
Crawl traverses a syntax in pre-order: It starts by calling f(root); root must not be nil. If f returns false (== "continue"), Crawl calls f recursive
syntax/walk.go:39
↓ 4 callersMethodDelete
Delete removes the entry with the given key, if any. It returns true if the entry was found.
types/typemap.go:65
↓ 4 callersMethodFilename
()
syntax/pos.go:180
↓ 4 callersFunctionImplements
Implements reports whether type V implements interface T. The behavior of Implements is undefined if V is an uninstantiated generic type.
types/api.go:440
↓ 4 callersMethodImportedPackage
ImportedPackage returns the importable Package whose PkgPath is path, or nil if no such Package has been created. A parameter to CreatePackage determ
types/create.go:185
↓ 4 callersMethodInsert
Insert attempts to insert an object obj into scope s. If s already contains an alternative object alt with the same name, Insert leaves s unchanged an
types/scope.go:99
↓ 4 callersFunctionInspect
Inspect traverses an AST in pre-order: It starts by calling f(node); node must not be nil. If f returns true, Inspect invokes f recursively for each o
syntax/walk.go:17
↓ 4 callersMethodIsEmpty
IsEmpty reports whether type set s is the empty set.
types/typeset.go:34
↓ 4 callersMethodIsMethodSet
IsMethodSet reports whether the interface t is fully described by its method set.
types/typeset.go:40
↓ 4 callersMethodIsValid
()
syntax/pos.go:219
↓ 4 callersFunctionNewStruct
NewStruct returns a new struct with the given fields and corresponding field tags. If a field with index i has a tag, tags[i] must be that tag, but le
types/struct.go:26
↓ 4 callersFunctionNewUnion
NewUnion returns a new Union type with the given terms. It is an error to create an empty union; they are syntactically not possible.
types/union.go:19
↓ 4 callersMethodRelCol
()
syntax/pos.go:46
↓ 4 callersMethodRelString
package-qualified name of the package member
types/ssa.go:66
↓ 4 callersMethodSet
Set sets the map entry for key to val, and returns the previous entry, if any.
types/typemap.go:98
↓ 4 callersMethodSizeof
(T Type)
types/sizes.go:125
↓ 4 callersMethodType
package local object name
types/object.go:26
↓ 4 callersFunctionWriteSignature
WriteSignature writes the representation of the signature sig to buf, without a leading "func" keyword. The Qualifier controls the printing of package
types/typestring.go:73
↓ 4 callersMethodadd
(p *graphNode)
types/initorder.go:202
↓ 4 callersMethodaddLocal
addLocal creates an anonymous local variable of type typ, adds it to function f and returns it. pos is the optional source location.
types/func.go:404
↓ 4 callersMethodaddNamedLocal
addNamedLocal creates a local variable, adds it to function f and returns it. Its name and type are taken from obj. Subsequent calls to f.lookup(obj
types/func.go:390
↓ 4 callersMethodaddParamObj
addParamObj adds a (non-escaping) parameter to f.Params for the specified Var. If spill is true, then the parameter is pre-spilled to the stack; the
types/func.go:202
↓ 4 callersFunctionallBoolean
The allX predicates below report whether t is an X. If t is a type parameter the result is true if isX is true for all specified types of the type par
types/predicates.go:37
↓ 4 callersMethodarity
arity checks that the lhs and rhs of a const or var decl have a matching number of names and initialization values. If inherited is set, the initializ
types/resolver.go:52
↓ 4 callersFunctionassertSortedMethods
(list []*Func)
types/typeset.go:371
↓ 4 callersMethodassign
(loc lvalue, sb *storebuf)
types/builder.go:746
↓ 4 callersMethodasyncList
(open, sep, close token, f func() bool)
syntax/parser.go:2786
↓ 4 callersFunctionbaseName
(base int)
syntax/scanner.go:584
↓ 4 callersMethodbuild
(fn *Function, info *Info, emitBody func(b *builder))
types/builder.go:98
↓ 4 callersMethodcomment
(text string)
syntax/scanner.go:739
↓ 4 callersFunctioncomparable
If dynamic is set, non-type parameter interfaces are always comparable. If reportf != nil, it may be used to report why T is not comparable.
types/predicates.go:115
↓ 4 callersFunctioncreated
Returns initially created packages, as a string.
loader/loader_test.go:823
↓ 4 callersMethodcycleError
cycleError reports a declaration cycle starting with the object in cycle that is "first" in the source.
types/decl.go:306
↓ 4 callersMethodd
()
types/testdata/check/cycles3.go:36
↓ 4 callersMethoddefinedType
definedType is like typ but also accepts a type name def. If def != nil, e is the type specification for the defined type def, declared in a type decl
types/typexpr.go:186
↓ 4 callersMethodempty
()
types/errors.go:46
↓ 4 callersMethodentries
entries returns a rangeable map of entries.
ssa/interp/map.go:116
↓ 4 callersFunctionequals
equals returns true iff x and y are equal according to Go's linguistic equivalence relation for type t. In a well-typed program, the dynamic types of
ssa/interp/value.go:199
↓ 4 callersMethoderror
error reports the error msg at source position s.pos().
syntax/source.go:58
↓ 4 callersMethoderror
(msg string)
syntax/parser.go:215
← previousnext →401–500 of 3,220, ranked by callers