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
↓ 3 callers
Function
print_backtrace
(err interface{})
utils.go:184
↓ 3 callers
Method
read_parameters
()
_gccgo/package.go:432
↓ 3 callers
Function
strip_method_receiver
(recv *ast.FieldList)
package_text.go:596
↓ 2 callers
Method
ReadByte
needed for binary.ReadVarint in rawInt64
package_bin.go:715
↓ 2 callers
Function
abs_path_for_package
(filename, p string, context *package_lookup_context)
declcache.go:152
↓ 2 callers
Function
add_ast_decl_to_package
(pkg *decl, decl ast.Decl, scope *scope)
package.go:174
↓ 2 callers
Method
add_decl
(name string, d *decl)
scope.go:43
↓ 2 callers
Function
advance_to_struct_or_interface
(decl *decl)
decl.go:640
↓ 2 callers
Method
append_packages
Function fills 'ps' set with packages from 'packages' import information. In case if package is not in the cache, it creates one and adds one to the c
package.go:228
↓ 2 callers
Function
ast_field_list_to_embedded
(f *ast.FieldList)
decl.go:209
↓ 2 callers
Function
build_package
build_package builds the package by calling `go install package/import`. If everything compiles correctly, the newly compiled package should then be i
declcache.go:221
↓ 2 callers
Function
check_func_field_list
(f *ast.FieldList)
autocompletecontext.go:638
↓ 2 callers
Function
check_type_expr
checks for a type expression correctness, it the type expression has ast.BadExpr somewhere, returns false, otherwise true
autocompletecontext.go:653
↓ 2 callers
Function
collect_package_imports
Parses import declarations until the first non-import declaration and fills `packages` array with import information.
declcache.go:29
↓ 2 callers
Method
deduce_cursor_decl
this function is called when the cursor is at the '.' and you need to get the declaration before that dot
cursorcontext.go:264
↓ 2 callers
Method
deduce_struct_type_decl
try to find and extract the surrounding struct literal type
cursorcontext.go:273
↓ 2 callers
Method
deep_copy
()
decl.go:362
↓ 2 callers
Function
diff_sanity_check
(a, b)
subl3/gocode.py:89
↓ 2 callers
Method
doDecl
(pkg ibinPackage, name string)
package_ibin.go:203
↓ 2 callers
Function
exported
(name string)
package_bin.go:581
↓ 2 callers
Method
fieldName
(parent string)
package_bin.go:508
↓ 2 callers
Function
filter_out_shebang
returns truncated 'data' and amount of bytes skipped (for cursor pos adjustment)
utils.go:55
↓ 2 callers
Function
fixup_packages
(filescope *scope, pkgs []package_import, pcache package_cache)
autocompletecontext.go:539
↓ 2 callers
Method
gen
()
decl.go:264
↓ 2 callers
Function
generate_struct_wrapper
(out io.Writer, fun *ast.FieldList, structname, name string)
_goremote/goremote.go:123
↓ 2 callers
Function
get_appdata_folder_path
()
os_windows.go:40
↓ 2 callers
Method
get_candidates_from_set
(set map[string]*decl, partial string, class decl_class, b *out_buffers)
autocompletecontext.go:213
↓ 2 callers
Method
get_import_candidates
(partial string, b *out_buffers)
autocompletecontext.go:286
↓ 2 callers
Function
get_socket_filename
()
gocode.go:23
↓ 2 callers
Function
get_type_path
converts type expressions like: ast.Expr *ast.Expr $ast$go/ast.Expr to a path that can be used to lookup a type related Decl
decl.go:542
↓ 2 callers
Function
has_prefix
(s, prefix string, ignorecase bool)
utils.go:95
↓ 2 callers
Function
isAliasTypeSpec
(t *ast.TypeSpec)
type_alias_build_hack_19.go:17
↓ 2 callers
Method
is_nil
()
decl.go:533
↓ 2 callers
Function
log_parse_error
(intro string, err error)
autocompletefile.go:23
↓ 2 callers
Method
merge_decl
(d *decl)
scope.go:56
↓ 2 callers
Function
merge_decls
(filescope *scope, pkg *scope, decls map[string]*decl)
autocompletecontext.go:514
↓ 2 callers
Function
merge_decls_from_packages
(pkgscope *scope, pkgs []package_import, pcache package_cache)
autocompletecontext.go:521
↓ 2 callers
Function
method_of
(d ast.Decl)
decl.go:340
↓ 2 callers
Method
mpint
(typ *ast.Ident)
package_ibin.go:405
↓ 2 callers
Function
new_auto_complete_context
(pcache package_cache, declcache *decl_cache)
autocompletecontext.go:158
↓ 2 callers
Function
new_decl_cache
(context *package_lookup_context)
declcache.go:509
↓ 2 callers
Function
new_package_cache
()
package.go:217
↓ 2 callers
Function
new_package_file_cache
(absname, name string)
package.go:33
↓ 2 callers
Method
param
()
package_ibin.go:574
↓ 2 callers
Method
paramList
()
package_ibin.go:566
↓ 2 callers
Method
parse_chan_type
ChanType = ( "chan" [ "<-" ] | "<-" "chan" ) Type .
package_text.go:380
↓ 2 callers
Method
parse_func_body
FuncBody = "{" ... "}" .
package_text.go:570
↓ 2 callers
Method
parse_int
int_lit = [ "-" | "+" ] { "0" ... "9" } .
package_text.go:304
↓ 2 callers
Method
parse_package
ImportPath = string_lit . quoted name of the path, but we return it as an identifier, taking an alias from 'pathToAlias' map, it is filled by import s
package_text.go:161
↓ 2 callers
Method
path
()
package_bin.go:640
↓ 2 callers
Function
pretty_print_func_field_list
(out io.Writer, f *ast.FieldList, canonical_aliases map[string]string)
decl.go:1228
↓ 2 callers
Function
pretty_print_func_field_list
(out io.Writer, f *ast.FieldList)
_gccgo/package.go:681
↓ 2 callers
Method
process_data
(data []byte)
declcache.go:104
↓ 2 callers
Method
process_package_data
(data []byte)
package.go:96
↓ 2 callers
Function
quoted
(v interface{})
config.go:202
↓ 2 callers
Method
rawStringln
rawStringln should only be used to read the initial version string.
package_bin.go:705
↓ 2 callers
Method
read
()
config.go:188
↓ 2 callers
Method
read_type_full
()
_gccgo/package.go:268
↓ 2 callers
Function
readdir_lstat
our own readdir, which skips the files it cannot lstat
utils.go:17
↓ 2 callers
Method
replace_decl
(name string, d *decl)
scope.go:52
↓ 2 callers
Function
run_test
(t)
_testing/run.py:24
↓ 2 callers
Function
skip_to_balanced_pair
(str, i, open, close)
subl3/gocode.py:9
↓ 2 callers
Method
skip_to_balanced_pair
when the cursor is at the ')' or ']' or '}', move the cursor to an opposite bracket pair, this functions takes nested bracket pairs into account
cursorcontext.go:105
↓ 2 callers
Method
skip_to_left
(left, right token.Token)
cursorcontext.go:84
↓ 2 callers
Function
split_balanced
(s)
subl3/gocode.py:28
↓ 2 callers
Function
token_items_to_string
Given a slice of token_item, reassembles them into the original literal expression.
cursorcontext.go:254
↓ 2 callers
Function
try_autobuild
executes autobuild function if autobuild option is enabled, logs error and ignores it
declcache.go:257
↓ 2 callers
Method
typAt
(off uint64)
package_ibin.go:89
↓ 2 callers
Function
typeAliasSpec
(name string, typ ast.Expr)
type_alias_build_hack_19.go:9
↓ 2 callers
Method
update_cache
()
package.go:74
↓ 2 callers
Function
xdg_home_dir
()
utils.go:87
↓ 1 callers
Method
add_builtin_unsafe_package
()
package.go:256
↓ 1 callers
Method
append_embedded
(p string, decl *decl, pkg string, class decl_class)
autocompletecontext.go:91
↓ 1 callers
Method
apropos
returns three slices of the same length containing: 1. apropos names 2. apropos types (pretty-printed) 3. apropos classes and length of the part that
autocompletecontext.go:337
↓ 1 callers
Function
ast_decl_convertable
(d ast.Decl)
decl.go:153
↓ 1 callers
Function
ast_decl_names
(d ast.Decl)
decl.go:1265
↓ 1 callers
Function
ast_decl_split
(d ast.Decl)
decl.go:1311
↓ 1 callers
Function
ast_decl_type
(d ast.Decl)
decl.go:106
↓ 1 callers
Function
ast_decl_values
(d ast.Decl)
decl.go:1296
↓ 1 callers
Function
ast_type_to_children
(ty ast.Expr, flags decl_flags, scope *scope)
decl.go:243
↓ 1 callers
Function
ast_type_to_embedded
(ty ast.Expr)
decl.go:233
↓ 1 callers
Function
autobuild
autobuild compares the mod time of the source files of the package, and if any of them is newer than the package object file will rebuild it.
declcache.go:192
↓ 1 callers
Method
byte
()
package_ibin.go:616
↓ 1 callers
Function
char_to_byte_offset
(s []byte, offset_c int)
utils.go:78
↓ 1 callers
Function
check_for_builtin_funcs
(typ *ast.Ident, c *ast.CallExpr, scope *scope)
decl.go:464
↓ 1 callers
Function
client_auto_complete
(cli *rpc.Client, Arg0 []byte, Arg1 string, Arg2 int, Arg3 go_build_context)
rpc.go:29
↓ 1 callers
Function
client_close
(cli *rpc.Client, Arg0 int)
rpc.go:56
↓ 1 callers
Function
client_drop_cache
(cli *rpc.Client, Arg0 int)
rpc.go:104
↓ 1 callers
Function
client_options
(cli *rpc.Client, Arg0 int)
rpc.go:153
↓ 1 callers
Function
client_status
(cli *rpc.Client, Arg0 int)
rpc.go:80
↓ 1 callers
Method
close
()
server.go:122
↓ 1 callers
Function
cmd_auto_complete
(c *rpc.Client)
client.go:160
↓ 1 callers
Function
cmd_close
(c *rpc.Client)
client.go:167
↓ 1 callers
Function
cmd_drop_cache
(c *rpc.Client)
client.go:171
↓ 1 callers
Function
cmd_options
(c *rpc.Client)
client.go:186
↓ 1 callers
Function
cmd_set
(c *rpc.Client)
client.go:175
↓ 1 callers
Function
cmd_status
------------------------------------------------------------------------- commands -------------------------------------------------------------------
client.go:156
↓ 1 callers
Function
collect_type_alias_methods
(d *decl)
autocompletecontext.go:468
↓ 1 callers
Function
config_dir
config location
os_posix.go:42
↓ 1 callers
Function
create_sock_flag
(name, desc string)
os_posix.go:12
← previous
next →
101–200 of 413, ranked by callers