MCPcopy Create free account

hub / github.com/despiteallobjections/amigo / functions

Functions3,220 in github.com/despiteallobjections/amigo

↓ 20 callersMethodParams
Params returns the parameters of signature s, or nil.
types/signature.go:77
↓ 20 callersMethodassignment
assignment reports whether x can be assigned to a variable of type T, if necessary by attempting to convert untyped values to the appropriate type. co
types/assignments.go:21
↓ 19 callersMethodBytes
Bytes returns a new byte slice containing the original data with the queued edits applied.
edit/edit.go:68
↓ 19 callersMethodReplace
(start, end int, new string)
edit/edit.go:59
↓ 19 callersMethodpos
(pos Pos)
types/writer.go:39
↓ 19 callersFunctionssaDeref
deref returns a pointer's element type; otherwise it returns typ.
types/util.go:32
↓ 18 callersFunctionMustHaveGoBuild
(t testing.TB)
testenv/testenv.go:18
↓ 18 callersFunctionNewPackage
NewPackage returns a new Package for the given package path and name. The package is not complete and contains no explicit imports.
types/package.go:25
↓ 18 callersFunctionmakeSig
makeSig makes a signature for the given argument and result types. Default types are used for untyped arguments, and res may be nil.
types/builtins.go:858
↓ 18 callersMethodname
---------------------------------------------------------------------------- Common productions
syntax/parser.go:2663
↓ 18 callersMethodnext
next advances the scanner by reading the next token. If a read, source encoding, or lexical error occurs, next calls the installed error handler with
syntax/scanner.go:98
↓ 18 callersMethodrecordBuiltinType
(f Expr, sig *Signature)
types/check.go:465
↓ 18 callersMethodreport
(err *error_)
types/errors.go:191
↓ 18 callersFunctiontestTerm
(name string)
types/typeterm_test.go:43
↓ 18 callersMethodversionErrorf
(at poser, goVersion string, format string, args ...interface{})
types/errors.go:272
↓ 17 callersMethodPkg
position of object identifier in declaration
types/object.go:24
↓ 17 callersMethodallowVersion
allowVersion reports whether the given package is allowed to use version major.minor.
types/version.go:47
↓ 17 callersMethodemitExtract
emitExtract emits to f an instruction to extract the index'th component of tuple. It returns the extracted value.
types/emit.go:278
↓ 17 callersFunctionf0
()
types/testdata/check/builtins0.go:11
↓ 17 callersFunctionforFieldList
Call a function for each entry in an ast.FieldList, passing the index into the list, the name if any, and the type.
cgotool/out.go:1241
↓ 17 callersFunctionmustParse
(t *testing.T, src string)
types/issues_test.go:21
↓ 17 callersMethodprintNode
(n Node)
syntax/printer.go:321
↓ 17 callersFunctionrV2V
Given a reflect.Value, returns the underlying interpreter value.
ssa/interp/reflect.go:61
↓ 16 callersMethodBase
()
syntax/pos.go:31
↓ 16 callersMethodImport
Import is a convenience function that adds path to ImportPkgs, the set of initial packages that will be imported from source.
loader/loader.go:311
↓ 16 callersMethodResults
Results returns the results of signature s, or nil.
types/signature.go:80
↓ 16 callersFunctioncoreType
If t is not a type parameter, coreType returns the underlying type. If t is a type parameter, coreType returns the single underlying type of all types
types/type.go:36
↓ 16 callersMethodemitLoad
emitLoad emits to f an instruction to load the address addr into a new temporary, and returns the value so defined.
types/emit.go:29
↓ 16 callersMethoderrorf
errorf reports an error at the most recently read character position.
syntax/scanner.go:59
↓ 16 callersFunctionisPointer
(typ Type)
types/conversions.go:288
↓ 16 callersFunctionlineno
(pos token.Pos)
cgotool/util.go:83
↓ 16 callersFunctionpkgFor
(path, source string, info *Info)
types/api_test.go:31
↓ 16 callersFunctionrelType
(t Type, from *Package)
types/print.go:41
↓ 16 callersMethoduse
use type-checks each argument. Useful to make sure expressions are evaluated (and variables are "used") in the presence of other errors. The arguments
types/call.go:683
↓ 16 callersMethodvarType
varType type-checks the type expression e and returns its type, or Typ[Invalid]. The type must not be an (uninstantiated) generic type and it must not
types/typexpr.go:149
↓ 15 callersMethodBuild
Build calls Package.Build for each package in prog. Building occurs in parallel unless the BuildSerially mode flag was set. Build is intended for who
types/builder.go:2892
↓ 15 callersFunctionNewSlice
NewSlice returns a new slice type for the given element type.
types/slice.go:13
↓ 15 callersFunctionNodeString
NodeString is a convenience function that prints n in ShortForm and returns the printed string.
syntax/printer.go:49
↓ 15 callersFunctionParseFile
ParseFile behaves like Parse but it reads the source from the named file.
syntax/syntax.go:89
↓ 15 callersMethodUint64
Uint64 returns the numeric value of this constant truncated to fit an unsigned 64-bit integer.
types/const.go:140
↓ 15 callersMethoderror
(err error)
gcpragma/pragma.go:97
↓ 15 callersMethodexpr
---------------------------------------------------------------------------- Expressions
syntax/parser.go:726
↓ 15 callersFunctionisString
(t Type)
types/predicates.go:19
↓ 15 callersFunctionmaketl
maketl makes a term list from a string of the term list.
types/termlist_test.go:13
↓ 15 callersMethodresolve
(ctxt *Context)
types/named.go:45
↓ 15 callersMethodtyp
()
types/reader.go:32
↓ 14 callersMethodHash
Hash computes a hash value for the given type t such that Identical(t, t') => Hash(t) == Hash(t').
types/typemap.go:222
↓ 14 callersMethodId
reports whether the name starts with a capital letter
types/object.go:28
↓ 14 callersMethodLen
()
edit/edit.go:29
↓ 14 callersFunctionNewSSAConst
NewSSAConst returns a new constant of the specified value and type. val must be valid according to the specification of Const.Value.
types/const.go:20
↓ 14 callersFunctionObjectString
ObjectString returns the string form of obj. The Qualifier controls the printing of package-level objects, and may be nil.
types/object.go:567
↓ 14 callersFunctionParse
Parse parses a single Go source file from src and returns the corresponding syntax tree. If there are errors, Parse will return the first error found,
syntax/syntax.go:72
↓ 14 callersFunctionParseString
(filename string, src string)
syntax/syntax.go:123
↓ 14 callersMethodWrite
(data []byte)
syntax/dumper.go:53
↓ 14 callersMethodexpr
expr lowers a single-result expression e to SSA form, emitting code to fn and returning the Value defined by the expression.
types/builder.go:793
↓ 14 callersFunctionf0
()
types/testdata/check/issues0.go:51
↓ 14 callersMethodsetUnderlying
(typ Type)
types/named.go:320
↓ 14 callersMethodstore
(b *builder, v Value)
types/lvalue.go:19
↓ 14 callersMethodsubst
subst returns the type typ with its type parameters tpars replaced by the corresponding type arguments targs, recursively. subst doesn't modify the in
types/subst.go:52
↓ 14 callersMethodtyp
(typ Type)
types/writer.go:41
↓ 13 callersMethodIsKnown
()
syntax/pos.go:30
↓ 13 callersMethodKey
Key returns the key type of map m.
types/map.go:18
↓ 13 callersMethodMethod
()
types/testdata/check/cycles5.go:81
↓ 13 callersMethodReadAny
ReadAny reads and returns the next value from the buffer. If no value is available, it panics.
types/anybuffer.go:35
↓ 13 callersFunctionStartPos
StartPos returns the start position of n.
syntax/positions.go:10
↓ 13 callersMethodWriteAny
WriteAny appends x to the buffer, growing the buffer as needed.
types/anybuffer.go:29
↓ 13 callersMethoderrorAt
error reports an error at the given position.
syntax/tape.go:164
↓ 13 callersMethodinitReader
Deprecated: Use init instead.
syntax/scanner.go:46
↓ 13 callersMethodis
TODO(gri) TypeSet.is and TypeSet.underIs should probably also go into termlist.go is calls f with the specific type terms of s and reports whether all
types/typeset.go:113
↓ 13 callersMethodm
()
types/testdata/fixedbugs/issue6977.go:25
↓ 13 callersFunctionmakePkg
(src string)
types/typestring_test.go:17
↓ 13 callersFunctionmakeReflectValue
(t types.Type, v value)
ssa/interp/reflect.go:51
↓ 13 callersFunctionnewMethod
newMethod creates a new method of the specified name, package and receiver type.
ssa/interp/reflect.go:503
↓ 13 callersMethodtypeOrNil
typeOrNil is like type_ but it returns nil if there was no type instead of reporting an error. Type = TypeName | TypeLit | "(" Type ")" . TypeNam
syntax/parser.go:1260
↓ 13 callersFunctionzero
zero returns a new "zero" value of the specified type.
ssa/interp/ops.go:140
↓ 12 callersFunctionNewInterfaceType
NewInterfaceType returns a new interface for the given methods and embedded types. NewInterfaceType takes ownership of the provided methods and may mo
types/interface.go:33
↓ 12 callersFunctionNewTerm
NewTerm returns a new union term.
types/union.go:36
↓ 12 callersMethodPackage
This file defines utilities for working with source positions or source-level named entities ("objects"). TODO(adonovan): test that {Value,Instruction
types/source.go:21
↓ 12 callersMethodTypeOf
TypeOf returns the type of expression e, or nil if not found. Precondition: the Types, Uses and Defs maps are populated.
types/api.go:266
↓ 12 callersMethodWriteTo
WriteTo writes a string representation of the scope to w, with the scope elements sorted by name. The level of indentation is controlled by n >= 0, wi
types/scope.go:214
↓ 12 callersMethoddescribef
If debug is set, describef sets a printf-formatted description for action a. Otherwise, it is a no-op.
types/check.go:75
↓ 12 callersFunctionisQuoted
(s string)
gcpragma/pragma.go:305
↓ 12 callersMethodlater
later pushes f on to the stack of actions that will be processed later; either at the end of the current statement, or in case of a local constant or
types/check.go:188
↓ 12 callersFunctionlookup
(m M, k K)
types/testdata/examples/typesets.go:25
↓ 12 callersMethodpkg
()
types/func.go:527
↓ 12 callersMethodrecordDef
(id *Name, obj Object)
types/check.go:541
↓ 12 callersMethodsplit
(wr func(w *writer), rd func(r *reader))
types/builder.go:105
↓ 12 callersMethodtyp
address of the location
types/lvalue.go:22
↓ 11 callersFunctionDefault
Default returns the default "typed" type for an "untyped" type; it returns the incoming type for all other types. The default type for untyped nil is
types/predicates.go:454
↓ 11 callersFunctionLookupFieldOrMethod
Internal use of LookupFieldOrMethod: If the obj result is a method associated with a concrete (non-interface) type, the method's signature may not be
types/lookup.go:45
↓ 11 callersFunctionNewFileBase
NewFileBase returns a new PosBase for the given filename. A file PosBase's position is relative to itself, with the position being filename:1:1.
syntax/pos.go:146
↓ 11 callersFunctionNewFunc
NewFunc returns a new function with the given signature, representing the function's type.
types/object.go:373
↓ 11 callersFunctionNewSignatureType
NewSignatureType creates a new function type for the given receiver, receiver type parameters, type parameters, parameters, and results. If variadic i
types/signature.go:33
↓ 11 callersMethodReferrers
Referrers returns the list of instructions that have this value as one of their operands; it may contain duplicates if an instruction has a repeated o
types/ssa.go:116
↓ 11 callersMethodRelFilename
()
syntax/pos.go:35
↓ 11 callersMethodaddr
(e Expr, escaping bool)
types/builder.go:523
↓ 11 callersFunctionasInt
asInt converts x, which must be an integer, to an int suitable for use as a slice or array index or operand to make().
ssa/interp/ops.go:91
↓ 11 callersMethodbadExpr
()
syntax/parser.go:2078
↓ 11 callersMethodconvertUntyped
convertUntyped attempts to set the type of an untyped value to the target type.
types/expr.go:662
↓ 11 callersMethoddeclare
(scope *Scope, id *Name, obj Object, pos Pos)
types/decl.go:23
← previousnext →101–200 of 3,220, ranked by callers