MCPcopy Create free account

hub / github.com/despiteallobjections/amigo / functions

Functions3,220 in github.com/despiteallobjections/amigo

↓ 449 callersFunctionappend
(s S, t ...T2)
types/testdata/check/issues1.go:238
↓ 341 callersFunctionassert
(p bool)
types/errors.go:22
↓ 232 callersMethodType
Type returns the type of this value. Many instructions (e.g. IndexAddr) change their behaviour depending on the types of their operands.
types/ssa.go:97
↓ 206 callersMethodPos
Pos returns the location of the AST token most closely associated with the operation that gave rise to this value, or syntax.NoPos if it was not expli
types/ssa.go:132
↓ 184 callersMethoderrorf
(at poser, format string, args ...interface{})
types/errors.go:264
↓ 169 callersMethodName
Name returns the name of this value, and determines how this Value appears when used as an operand of an Instruction. This is the same as the source
types/ssa.go:86
↓ 154 callersMethodprint
(args ...interface{})
syntax/printer.go:255
↓ 153 callersFunctionnew
()
types/testdata/check/typeparams.go:70
↓ 107 callersFunctiondup
(s string)
syntax/printer_test.go:138
↓ 105 callersMethodString
If this value is an Instruction, String returns its disassembled form; otherwise it returns unspecified human-readable information about the Value, su
types/ssa.go:92
↓ 98 callersMethodUnderlying
Underlying returns the underlying type of a type.
types/type.go:13
↓ 93 callersFunctionprint
write writes bytes b to the target program's standard output. The print/println built-ins and the write() system call funnel through here so they can
ssa/interp/ops.go:925
↓ 92 callersMethodLen
()
types/union.go:26
↓ 87 callersMethodSizeof
Sizeof returns the size of a variable of type T. Sizeof must implement the size guarantees required by the spec.
types/sizes.go:21
↓ 82 callersMethodnextch
()
syntax/source.go:85
↓ 75 callersFunctionunder
under returns the true expanded underlying type. If it doesn't exist, the result is Typ[Invalid]. under must only be called when a type is known to be
types/type.go:23
↓ 74 callersMethodpos
Convenience methods using the current token position.
syntax/parser.go:214
↓ 69 callersMethodLookup
Lookup returns the object in scope s with the given name if such an object exists; otherwise the result is nil.
types/scope.go:71
↓ 67 callersMethodElem
()
types/testdata/fixedbugs/issue46275.go:17
↓ 67 callersMethodnext
next returns a Tuple (key, value, ok). key and value are unaliased, e.g. copies of the sequence element.
ssa/interp/value.go:65
↓ 65 callersMethodPos
Pos() returns the position associated with the node as follows: 1) The position of a node representing a terminal syntax production (Name, BasicLit, e
syntax/nodes.go:19
↓ 61 callersMethoderror
(at poser, msg string)
types/errors.go:260
↓ 59 callersFunctionIdentical
Identical reports whether x and y are identical types. Receivers of Signature types are ignored.
types/api.go:455
↓ 54 callersFunctionfatalf
Die with an error message.
cgotool/util.go:88
↓ 53 callersMethodsetType
setType sets the type of the object.
types/object.go:43
↓ 51 callersMethodCheck
Check type-checks a package and returns the resulting package object and the first error if any. Additionally, if info != nil, Check populates each of
types/api.go:395
↓ 51 callersMethodKind
Kind returns the kind of basic type b.
types/basic.go:73
↓ 51 callersMethoderrorf
errorf adds formatted error information to err. It may be called multiple times to provide additional information.
types/errors.go:85
↓ 50 callersMethodAt
At returns the i'th variable of tuple t.
types/tuple.go:31
↓ 47 callersMethodsyntaxError
(msg string)
syntax/parser.go:216
↓ 46 callersMethoderrorf
(format string, args ...interface{})
types/sanity.go:60
↓ 46 callersFunctionf
()
types/testdata/check/expr1.go:120
↓ 45 callersMethodget
(key types.Value)
ssa/interp/interp.go:110
↓ 45 callersMethodtrace
usage: defer p.trace(msg)()
syntax/parser.go:273
↓ 44 callersMethodemit
emit emits the specified instruction to function f.
types/func.go:440
↓ 43 callersFunctionrelName
relName returns the name of v relative to i. In most cases, this is identical to v.Name(), but references to Functions (including methods) and Globals
types/print.go:27
↓ 42 callersMethodScope
Scope returns the scope of the function's body block. The result is nil for imported or instantiated functions and methods (but there is also no mecha
types/object.go:398
↓ 41 callersMethodTypeParams
TODO(gri) Come up with a better representation and API to distinguish between parameterized instantiated and non-instantiated types. TypeParams return
types/named.go:115
↓ 41 callersMethodp
(format string, args ...interface{})
types/hilbert_test.go:83
↓ 40 callersMethodPath
Path returns the package path.
types/package.go:31
↓ 40 callersMethodnewBasicBlock
newBasicBlock adds to f a new basic block and returns it. It does not automatically become the current block for subsequent calls to emit. comment is
types/func.go:641
↓ 39 callersMethodAlignof
Alignof returns the alignment of a variable of type T. Alignof must implement the alignment guarantees required by the spec.
types/sizes.go:13
↓ 39 callersMethodexpr
(e Expr)
types/builder.go:802
↓ 39 callersMethodlist
list is for internal use where we expect a []Type. TODO(rfindley): list should probably be eliminated: we can pass around a TypeList instead.
types/typelists.go:48
↓ 38 callersFunctiondup
dup returns a testEntry where both src and str are the same.
types/typestring_test.go:32
↓ 38 callersFunctionisTypeParam
isTypeParam reports whether t is a type parameter.
types/predicates.go:94
↓ 37 callersMethodError
Error returns an error string formatted as follows: filename:line:column: message
types/api.go:48
↓ 37 callersMethodLoad
Load creates the initial packages specified by conf.{Create,Import}Pkgs, loading their dependencies packages as needed. On success, Load returns a Pr
loader/loader.go:462
↓ 35 callersMethodbool
(b bool)
types/writer.go:30
↓ 34 callersMethodbool
()
types/reader.go:21
↓ 33 callersMethodString
String returns a string containing the original data with the queued edits applied.
edit/edit.go:91
↓ 33 callersFunctionassert
(cond bool)
ssa/interp/testdata/fieldprom.go:25
↓ 33 callersFunctiontokenPos
tokenPos returns n.Pos(). It exists just for internal documentation purposes, to help remind which token position package ssa was originally accessin
types/source.go:41
↓ 32 callersFunctionNewPointer
NewPointer returns a new pointer type for the given element (base) type.
types/pointer.go:13
↓ 32 callersFunctionNewTypeName
NewTypeName returns a new type name denoting the given typ. The remaining arguments set the attributes found with all Objects. The typ argument may b
types/object.go:273
↓ 32 callersMethodbyte
(b byte)
types/typestring.go:95
↓ 32 callersMethodemit
(b *builder)
types/builder.go:678
↓ 32 callersMethodexpr
()
types/builder.go:825
↓ 32 callersMethodsetPos
(pos Pos)
types/ssa.go:1428
↓ 31 callersMethodsprintf
check may be nil.
types/errors.go:183
↓ 31 callersMethodtypeSet
typeSet returns the type set for interface t.
types/interface.go:25
↓ 31 callersFunctionunreachable
()
types/errors.go:28
↓ 31 callersMethodwant
(tok token)
syntax/parser.go:130
↓ 30 callersFunctionc
(repr string, args ...interface{})
cgotool/out.go:1259
↓ 29 callersMethodRecv
Recv returns the receiver of signature s (if a method), or nil if a function. It is ignored when comparing signatures for identity. For an abstract m
types/signature.go:65
↓ 29 callersFunctionf1
(x int)
types/testdata/check/expr3.go:473
↓ 29 callersMethodgot
(tok token)
syntax/parser.go:122
↓ 28 callersMethodError
()
syntax/syntax.go:31
↓ 28 callersMethodString
()
ssa/interp/testdata/src/reflect/reflect.go:4
↓ 28 callersMethodadvance
Advance consumes tokens until it finds a token of the stopset or followlist. The stopset is only considered if we are inside a function (p.fnest > 0).
syntax/parser.go:240
↓ 28 callersMethodemitConv
emitConv emits to f code to convert Value val to exactly type typ, and returns the converted value. Implicit conversions are required by language ass
types/emit.go:158
↓ 28 callersMethodexpr
expr typechecks expression e and initializes x with the expression value. The result must be a single value. If an error occurred, x.mode is set to in
types/expr.go:1773
↓ 27 callersMethodIdent
Identifier
cgotool/gcc.go:2839
↓ 27 callersFunctionUnparen
Unparen removes all parentheses around an expression.
syntax/parser.go:2856
↓ 27 callersFunctionerror_
(pos token.Pos, msg string, args ...interface{})
cgotool/util.go:99
↓ 27 callersFunctionf2
(u float32, s string)
types/testdata/check/expr3.go:474
↓ 26 callersMethodIndex
Index describes the path from x to f in x.f. The last index entry is the field or method index of the type declaring f; either: 1) the list of decla
types/selection.go:102
↓ 26 callersMethodstring
(s string)
types/typestring.go:109
↓ 25 callersMethodLine
()
syntax/pos.go:32
↓ 25 callersMethodObj
Obj returns the type name for the declaration defining the named type t. For instantiated types, this is same as the type name of the origin type.
types/named.go:104
↓ 25 callersMethodsoftErrorf
(at poser, format string, args ...interface{})
types/errors.go:268
↓ 25 callersMethodtrace
(pos Pos, format string, args ...interface{})
types/errors.go:198
↓ 24 callersMethodContains
Contains reports whether pos is within the scope's extent. The result is guaranteed to be valid only if the type-checked AST has complete position inf
types/scope.go:178
↓ 24 callersMethodParent
Parent returns the function to which this Value belongs. It returns nil for named Functions, Builtin, Const and Global.
types/ssa.go:101
↓ 24 callersMethodm
(int)
types/testdata/check/stmt0.go:667
↓ 23 callersMethodClose
Close tells the receiver that no more values will arrive. After Close is called, the Sender may no longer be used.
types/testdata/check/chans.go:41
↓ 23 callersFunctionTypeString
TypeString returns the string representation of typ. The Qualifier controls the printing of package-level objects, and may be nil.
types/typestring.go:50
↓ 23 callersFunctionisUntyped
isUntyped(t) is the same as !isTyped(t).
types/predicates.go:78
↓ 23 callersFunctionparseSrc
(path, src string)
types/api_test.go:26
↓ 23 callersFunctionunpackExpr
unpack unpacks a *syntax.ListExpr into a list of syntax.Expr. Helper introduced for the go/types -> types2 port. TODO(gri) Should find a more efficien
types/assignments.go:447
↓ 22 callersMethodCol
()
syntax/pos.go:33
↓ 22 callersFunctionNewTuple
NewTuple returns a new tuple for the given variables.
types/tuple.go:15
↓ 22 callersMethodpos
()
types/reader.go:30
↓ 21 callersFunctionNewVar
NewVar returns a new variable. The arguments set the attributes found with all Objects.
types/object.go:333
↓ 21 callersMethodSet
(string)
types/testdata/check/funcinference.go:81
↓ 21 callersMethodemitJump
emitJump emits to f a jump to target, and updates the control-flow graph. Postcondition: f.currentBlock is nil.
types/emit.go:256
↓ 21 callersMethodfm
(x ...int)
types/testdata/check/expr3.go:478
↓ 21 callersMethodprintf
printf is a convenience wrapper that takes care of print errors.
syntax/dumper.go:92
↓ 20 callersMethodField
Field returns the i'th field for 0 <= i < NumFields().
types/struct.go:45
↓ 20 callersMethodNumFields
NumFields returns the number of fields in the struct (including blank and embedded fields).
types/struct.go:42
next →1–100 of 3,220, ranked by callers