Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nsf/gocode
/ functions
Functions
413 in github.com/nsf/gocode
⨍
Functions
413
◇
Types & classes
68
↓ 1 callers
Method
cursor_in_for_head
(s *ast.ForStmt)
autocompletefile.go:404
↓ 1 callers
Method
cursor_in_if_head
(s *ast.IfStmt)
autocompletefile.go:386
↓ 1 callers
Method
cursor_in_if_stmt
(s *ast.IfStmt)
autocompletefile.go:393
↓ 1 callers
Method
deduce_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 callers
Method
doType
()
package_ibin.go:461
↓ 1 callers
Function
do_client
()
client.go:15
↓ 1 callers
Function
do_server
()
server.go:17
↓ 1 callers
Function
expr_to_decl
(e ast.Expr, scope *scope)
decl.go:610
↓ 1 callers
Function
extract_arguments_and_returns
(sig)
subl3/gocode.py:48
↓ 1 callers
Method
extract_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 callers
Method
extract_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 callers
Method
extract_type_alike
()
cursorcontext.go:117
↓ 1 callers
Method
fetch_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 callers
Method
field
(parent string)
package_bin.go:471
↓ 1 callers
Function
file_package_name
(filename string)
autocompletecontext.go:622
↓ 1 callers
Function
find_bzl_project_root
(libpath, path string)
utils.go:103
↓ 1 callers
Method
find_child_and_in_embedded
(name string)
decl.go:1034
↓ 1 callers
Method
find_decl_beg
(pos int)
ripper.go:33
↓ 1 callers
Method
find_decl_end
(pos int)
ripper.go:72
↓ 1 callers
Method
find_file
()
package.go:51
↓ 1 callers
Function
find_gb_project_root
Code taken directly from `gb`, I hope author doesn't mind.
utils.go:130
↓ 1 callers
Function
find_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 callers
Function
find_go_dag_package
(imp, filedir string)
declcache.go:180
↓ 1 callers
Function
find_other_package_files
(filename, package_name string)
autocompletecontext.go:581
↓ 1 callers
Method
find_outermost_scope
(cursor int)
ripper.go:99
↓ 1 callers
Function
func_return_type
(f *ast.FuncType, index int)
decl.go:504
↓ 1 callers
Function
generate_client_rpc_wrapper
(out io.Writer, fun *ast.FuncDecl, name string, argcnt, replycnt int)
_goremote/goremote.go:176
↓ 1 callers
Function
generate_server_rpc_wrapper
function that is being exposed to an RPC API, but calls simple "Server_" one
_goremote/goremote.go:154
↓ 1 callers
Method
get
(filename string)
declcache.go:516
↓ 1 callers
Method
get_and_update
(filename string)
declcache.go:528
↓ 1 callers
Function
get_array_len
------------------------------------------------------------------------- Pretty printing ------------------------------------------------------------
decl.go:1122
↓ 1 callers
Function
get_array_len
------------------------------------------------------------------------- Pretty printing ------------------------------------------------------------
_gccgo/package.go:589
↓ 1 callers
Method
get_candidates_from_decl_alias
(cc cursor_context, class decl_class, b *out_buffers)
autocompletecontext.go:227
↓ 1 callers
Function
get_executable_filename
Full path of the current executable
os_posix.go:17
↓ 1 callers
Function
get_formatter
-------------------------------------------------------------------------
formatters.go:168
↓ 1 callers
Function
get_import_candidates_dir
(root, partial string, ignorecase bool, currentPackagePath string, r map[string]struct{})
autocompletecontext.go:298
↓ 1 callers
Function
get_other_package_files
(filename, packageName string, declcache *decl_cache)
autocompletecontext.go:553
↓ 1 callers
Method
gopath
gopath returns the list of Go path directories.
declcache.go:431
↓ 1 callers
Function
hint_and_subj
(cls, name, type)
subl3/gocode.py:70
↓ 1 callers
Function
infer_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 callers
Method
init
(reader io.Reader)
_gccgo/package.go:147
↓ 1 callers
Function
intSize
(typ *ast.Ident)
package_ibin.go:375
↓ 1 callers
Method
is_rangevar
()
decl.go:382
↓ 1 callers
Method
kind
()
package_ibin.go:588
↓ 1 callers
Method
list
()
config.go:117
↓ 1 callers
Method
list_option
(name string)
config.go:128
↓ 1 callers
Function
log_build_context
(context *package_lookup_context)
declcache.go:272
↓ 1 callers
Function
lookup_path
(tp type_path, scope *scope)
decl.go:561
↓ 1 callers
Method
loop
()
server.go:89
↓ 1 callers
Method
make_decl_set
(scope *scope)
autocompletecontext.go:207
↓ 1 callers
Function
make_decl_set_recursive
(set map[string]*decl, scope *scope)
autocompletecontext.go:627
↓ 1 callers
Method
matches
()
decl.go:426
↓ 1 callers
Method
merge_decls
()
autocompletecontext.go:191
↓ 1 callers
Method
method
(parent string)
package_bin.go:497
↓ 1 callers
Method
methodList
(parent string)
package_bin.go:487
↓ 1 callers
Function
new_auto_complete_file
(name string, context *package_lookup_context)
autocompletefile.go:52
↓ 1 callers
Function
new_daemon
(network, address string)
server.go:63
↓ 1 callers
Function
new_decl_file_cache
(name string, context *package_lookup_context)
declcache.go:68
↓ 1 callers
Function
new_file_reader
()
utils.go:223
↓ 1 callers
Function
new_named_scope
(outer *scope, name string)
scope.go:14
↓ 1 callers
Function
new_out_buffers
(ctx *auto_complete_context)
autocompletecontext.go:41
↓ 1 callers
Function
new_package_file_cache_forever
Creates a cache that stays in cache forever. Useful for built-in packages.
package.go:43
↓ 1 callers
Function
new_token_iterator
(src []byte, cursor int)
cursorcontext.go:42
↓ 1 callers
Method
next
(s *scanner.Scanner)
ripper.go:23
↓ 1 callers
Method
obj
(name string)
package_ibin.go:238
↓ 1 callers
Method
obj
(tag int)
package_bin.go:200
↓ 1 callers
Method
open_query_completions
Opens (forced) the sublime autocomplete window
subl3/gocode.py:178
↓ 1 callers
Method
options
()
config.go:223
↓ 1 callers
Function
pack_build_context
(ctx *build.Context)
utils.go:266
↓ 1 callers
Function
package_name
(file *ast.File)
declcache.go:410
↓ 1 callers
Method
param
(named bool)
package_bin.go:555
↓ 1 callers
Method
parse_array_or_slice_type
ArrayOrSliceType = ArrayType | SliceType . ArrayType = "[" int_lit "]" Type . SliceType = "[" "]" Type .
package_text.go:401
↓ 1 callers
Method
parse_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 callers
Method
parse_decl
Decl = [ ImportDecl | ConstDecl | TypeDecl | VarDecl | FuncDecl | MethodDecl ] "\n" .
package_text.go:647
↓ 1 callers
Function
parse_decl_list
(fset *token.FileSet, data []byte)
autocompletefile.go:12
↓ 1 callers
Method
parse_dot_ident
dotIdentifier = "?" | ( ident | '·' ) { ident | int | '·' } . we're doing lexer job here, kind of
package_text.go:128
↓ 1 callers
Method
parse_export
(callback func(pkg string, decl ast.Decl))
package.go:12
↓ 1 callers
Method
parse_field
Field = Name Type [ string_lit ] .
package_text.go:203
↓ 1 callers
Method
parse_func_decl
FuncDecl = "func" ExportedName Signature [ FuncBody ] .
package_text.go:583
↓ 1 callers
Function
parse_import_data
(data []byte)
_gccgo/package.go:61
↓ 1 callers
Method
parse_import_decl
------------------------------------------------------------------------------- gc_parser.declarations -----------------------------------------------
package_text.go:471
↓ 1 callers
Method
parse_interface_type
------------------------------------------------------------------------------- gc_parser.types ------------------------------------------------------
package_text.go:327
↓ 1 callers
Method
parse_map_type
MapType = "map" "[" Type "]" Type .
package_text.go:370
↓ 1 callers
Method
parse_method_decl
MethodDecl = "func" Receiver Name Signature . Receiver = "(" ( identifier | "?" ) [ "*" ] ExportedName ")" [ FuncBody ] .
package_text.go:631
↓ 1 callers
Method
parse_method_or_embed_spec
MethodOrEmbedSpec = Name [ Signature ] .
package_text.go:288
↓ 1 callers
Method
parse_parameter
Parameter = ( identifier | "?" ) [ "..." ] Type [ string_lit ] .
package_text.go:224
↓ 1 callers
Method
parse_struct_type
StructType = "struct" "{" [ FieldList ] "}" . FieldList = Field { ";" Field } .
package_text.go:349
↓ 1 callers
Method
parse_type_decl
TypeDecl = "type" ExportedName Type .
package_text.go:538
↓ 1 callers
Method
parse_var_decl
VarDecl = "var" ExportedName Type .
package_text.go:554
↓ 1 callers
Function
path_and_alias
(imp *ast.ImportSpec)
declcache.go:167
↓ 1 callers
Method
pkgAt
(off uint64)
package_ibin.go:120
↓ 1 callers
Method
pkg_dirs
()
declcache.go:461
↓ 1 callers
Function
prepare_file_filename_cursor
()
client.go:106
↓ 1 callers
Function
preprocess_desc
(v string)
config.go:217
↓ 1 callers
Function
pretty_print_func_field_list_using_args
(out io.Writer, f *ast.FieldList)
_goremote/goremote.go:92
↓ 1 callers
Method
pretty_print_type
(out io.Writer, canonical_aliases map[string]string)
decl.go:433
↓ 1 callers
Method
process_assign_stmt
(a *ast.AssignStmt)
autocompletefile.go:347
↓ 1 callers
Method
process_decl
(decl ast.Decl)
autocompletefile.go:131
↓ 1 callers
Method
process_decl_locals
(decl ast.Decl)
autocompletefile.go:112
↓ 1 callers
Function
process_file
(out io.Writer, filename string)
_goremote/goremote.go:220
← previous
next →
201–300 of 413, ranked by callers