MCPcopy Create free account

hub / github.com/nsf/gocode / functions

Functions413 in github.com/nsf/gocode

↓ 1 callersMethodcursor_in_for_head
(s *ast.ForStmt)
autocompletefile.go:404
↓ 1 callersMethodcursor_in_if_head
(s *ast.IfStmt)
autocompletefile.go:386
↓ 1 callersMethodcursor_in_if_stmt
(s *ast.IfStmt)
autocompletefile.go:393
↓ 1 callersMethoddeduce_cursor_context
Entry point from autocompletion, the function looks at text before the cursor and figures out the declaration the cursor is on. This declaration is us
cursorcontext.go:303
↓ 1 callersMethoddoType
()
package_ibin.go:461
↓ 1 callersFunctiondo_client
()
client.go:15
↓ 1 callersFunctiondo_server
()
server.go:17
↓ 1 callersFunctionexpr_to_decl
(e ast.Expr, scope *scope)
decl.go:610
↓ 1 callersFunctionextract_arguments_and_returns
(sig)
subl3/gocode.py:48
↓ 1 callersMethodextract_go_expr
Starting from the token under the cursor move back and extract something that resembles a valid Go primary expression. Examples of primary expressions
cursorcontext.go:196
↓ 1 callersMethodextract_struct_type
Extract the type expression right before the enclosing curly bracket block. Examples (# - the cursor): &lib.Struct{Whatever: 1, Hel#} // returns "lib.
cursorcontext.go:146
↓ 1 callersMethodextract_type_alike
()
cursorcontext.go:117
↓ 1 callersMethodfetch_query_completions
Fetches the query completions of for the given location Execute gocode and parse the returned csv. If the cursor location did not change, a resul
subl3/gocode.py:131
↓ 1 callersMethodfield
(parent string)
package_bin.go:471
↓ 1 callersFunctionfile_package_name
(filename string)
autocompletecontext.go:622
↓ 1 callersFunctionfind_bzl_project_root
(libpath, path string)
utils.go:103
↓ 1 callersMethodfind_child_and_in_embedded
(name string)
decl.go:1034
↓ 1 callersMethodfind_decl_beg
(pos int)
ripper.go:33
↓ 1 callersMethodfind_decl_end
(pos int)
ripper.go:72
↓ 1 callersMethodfind_file
()
package.go:51
↓ 1 callersFunctionfind_gb_project_root
Code taken directly from `gb`, I hope author doesn't mind.
utils.go:130
↓ 1 callersFunctionfind_global_file
find_global_file returns the file path of the compiled package corresponding to the specified import, and a boolean stating whether such path is valid
declcache.go:285
↓ 1 callersFunctionfind_go_dag_package
(imp, filedir string)
declcache.go:180
↓ 1 callersFunctionfind_other_package_files
(filename, package_name string)
autocompletecontext.go:581
↓ 1 callersMethodfind_outermost_scope
(cursor int)
ripper.go:99
↓ 1 callersFunctionfunc_return_type
(f *ast.FuncType, index int)
decl.go:504
↓ 1 callersFunctiongenerate_client_rpc_wrapper
(out io.Writer, fun *ast.FuncDecl, name string, argcnt, replycnt int)
_goremote/goremote.go:176
↓ 1 callersFunctiongenerate_server_rpc_wrapper
function that is being exposed to an RPC API, but calls simple "Server_" one
_goremote/goremote.go:154
↓ 1 callersMethodget
(filename string)
declcache.go:516
↓ 1 callersMethodget_and_update
(filename string)
declcache.go:528
↓ 1 callersFunctionget_array_len
------------------------------------------------------------------------- Pretty printing ------------------------------------------------------------
decl.go:1122
↓ 1 callersFunctionget_array_len
------------------------------------------------------------------------- Pretty printing ------------------------------------------------------------
_gccgo/package.go:589
↓ 1 callersMethodget_candidates_from_decl_alias
(cc cursor_context, class decl_class, b *out_buffers)
autocompletecontext.go:227
↓ 1 callersFunctionget_executable_filename
Full path of the current executable
os_posix.go:17
↓ 1 callersFunctionget_formatter
-------------------------------------------------------------------------
formatters.go:168
↓ 1 callersFunctionget_import_candidates_dir
(root, partial string, ignorecase bool, currentPackagePath string, r map[string]struct{})
autocompletecontext.go:298
↓ 1 callersFunctionget_other_package_files
(filename, packageName string, declcache *decl_cache)
autocompletecontext.go:553
↓ 1 callersMethodgopath
gopath returns the list of Go path directories.
declcache.go:431
↓ 1 callersFunctionhint_and_subj
(cls, name, type)
subl3/gocode.py:70
↓ 1 callersFunctioninfer_range_type
Special type inference for range statements. [int], [int] := range [string] [int], [value] := range [slice or array] [key], [value] := range [map] [va
decl.go:1070
↓ 1 callersMethodinit
(reader io.Reader)
_gccgo/package.go:147
↓ 1 callersFunctionintSize
(typ *ast.Ident)
package_ibin.go:375
↓ 1 callersMethodis_rangevar
()
decl.go:382
↓ 1 callersMethodkind
()
package_ibin.go:588
↓ 1 callersMethodlist
()
config.go:117
↓ 1 callersMethodlist_option
(name string)
config.go:128
↓ 1 callersFunctionlog_build_context
(context *package_lookup_context)
declcache.go:272
↓ 1 callersFunctionlookup_path
(tp type_path, scope *scope)
decl.go:561
↓ 1 callersMethodloop
()
server.go:89
↓ 1 callersMethodmake_decl_set
(scope *scope)
autocompletecontext.go:207
↓ 1 callersFunctionmake_decl_set_recursive
(set map[string]*decl, scope *scope)
autocompletecontext.go:627
↓ 1 callersMethodmatches
()
decl.go:426
↓ 1 callersMethodmerge_decls
()
autocompletecontext.go:191
↓ 1 callersMethodmethod
(parent string)
package_bin.go:497
↓ 1 callersMethodmethodList
(parent string)
package_bin.go:487
↓ 1 callersFunctionnew_auto_complete_file
(name string, context *package_lookup_context)
autocompletefile.go:52
↓ 1 callersFunctionnew_daemon
(network, address string)
server.go:63
↓ 1 callersFunctionnew_decl_file_cache
(name string, context *package_lookup_context)
declcache.go:68
↓ 1 callersFunctionnew_file_reader
()
utils.go:223
↓ 1 callersFunctionnew_named_scope
(outer *scope, name string)
scope.go:14
↓ 1 callersFunctionnew_out_buffers
(ctx *auto_complete_context)
autocompletecontext.go:41
↓ 1 callersFunctionnew_package_file_cache_forever
Creates a cache that stays in cache forever. Useful for built-in packages.
package.go:43
↓ 1 callersFunctionnew_token_iterator
(src []byte, cursor int)
cursorcontext.go:42
↓ 1 callersMethodnext
(s *scanner.Scanner)
ripper.go:23
↓ 1 callersMethodobj
(name string)
package_ibin.go:238
↓ 1 callersMethodobj
(tag int)
package_bin.go:200
↓ 1 callersMethodopen_query_completions
Opens (forced) the sublime autocomplete window
subl3/gocode.py:178
↓ 1 callersMethodoptions
()
config.go:223
↓ 1 callersFunctionpack_build_context
(ctx *build.Context)
utils.go:266
↓ 1 callersFunctionpackage_name
(file *ast.File)
declcache.go:410
↓ 1 callersMethodparam
(named bool)
package_bin.go:555
↓ 1 callersMethodparse_array_or_slice_type
ArrayOrSliceType = ArrayType | SliceType . ArrayType = "[" int_lit "]" Type . SliceType = "[" "]" Type .
package_text.go:401
↓ 1 callersMethodparse_const_decl
ConstDecl = "const" ExportedName [ Type ] "=" Literal . Literal = bool_lit | int_lit | float_lit | complex_lit | string_lit . bool_lit = "tru
package_text.go:486
↓ 1 callersMethodparse_decl
Decl = [ ImportDecl | ConstDecl | TypeDecl | VarDecl | FuncDecl | MethodDecl ] "\n" .
package_text.go:647
↓ 1 callersFunctionparse_decl_list
(fset *token.FileSet, data []byte)
autocompletefile.go:12
↓ 1 callersMethodparse_dot_ident
dotIdentifier = "?" | ( ident | '·' ) { ident | int | '·' } . we're doing lexer job here, kind of
package_text.go:128
↓ 1 callersMethodparse_export
(callback func(pkg string, decl ast.Decl))
package.go:12
↓ 1 callersMethodparse_field
Field = Name Type [ string_lit ] .
package_text.go:203
↓ 1 callersMethodparse_func_decl
FuncDecl = "func" ExportedName Signature [ FuncBody ] .
package_text.go:583
↓ 1 callersFunctionparse_import_data
(data []byte)
_gccgo/package.go:61
↓ 1 callersMethodparse_import_decl
------------------------------------------------------------------------------- gc_parser.declarations -----------------------------------------------
package_text.go:471
↓ 1 callersMethodparse_interface_type
------------------------------------------------------------------------------- gc_parser.types ------------------------------------------------------
package_text.go:327
↓ 1 callersMethodparse_map_type
MapType = "map" "[" Type "]" Type .
package_text.go:370
↓ 1 callersMethodparse_method_decl
MethodDecl = "func" Receiver Name Signature . Receiver = "(" ( identifier | "?" ) [ "*" ] ExportedName ")" [ FuncBody ] .
package_text.go:631
↓ 1 callersMethodparse_method_or_embed_spec
MethodOrEmbedSpec = Name [ Signature ] .
package_text.go:288
↓ 1 callersMethodparse_parameter
Parameter = ( identifier | "?" ) [ "..." ] Type [ string_lit ] .
package_text.go:224
↓ 1 callersMethodparse_struct_type
StructType = "struct" "{" [ FieldList ] "}" . FieldList = Field { ";" Field } .
package_text.go:349
↓ 1 callersMethodparse_type_decl
TypeDecl = "type" ExportedName Type .
package_text.go:538
↓ 1 callersMethodparse_var_decl
VarDecl = "var" ExportedName Type .
package_text.go:554
↓ 1 callersFunctionpath_and_alias
(imp *ast.ImportSpec)
declcache.go:167
↓ 1 callersMethodpkgAt
(off uint64)
package_ibin.go:120
↓ 1 callersMethodpkg_dirs
()
declcache.go:461
↓ 1 callersFunctionprepare_file_filename_cursor
()
client.go:106
↓ 1 callersFunctionpreprocess_desc
(v string)
config.go:217
↓ 1 callersFunctionpretty_print_func_field_list_using_args
(out io.Writer, f *ast.FieldList)
_goremote/goremote.go:92
↓ 1 callersMethodpretty_print_type
(out io.Writer, canonical_aliases map[string]string)
decl.go:433
↓ 1 callersMethodprocess_assign_stmt
(a *ast.AssignStmt)
autocompletefile.go:347
↓ 1 callersMethodprocess_decl
(decl ast.Decl)
autocompletefile.go:131
↓ 1 callersMethodprocess_decl_locals
(decl ast.Decl)
autocompletefile.go:112
↓ 1 callersFunctionprocess_file
(out io.Writer, filename string)
_goremote/goremote.go:220
← previousnext →201–300 of 413, ranked by callers