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
↓ 50 callers
Method
expect
makes sure that the current token is 'x', returns it and reads the next one
_gccgo/package.go:215
↓ 28 callers
Method
String
()
decl.go:33
↓ 27 callers
Method
expect
(tok rune)
package_text.go:88
↓ 24 callers
Method
next
()
package_text.go:70
↓ 18 callers
Method
int
()
package_bin.go:624
↓ 18 callers
Method
token
()
cursorcontext.go:66
↓ 14 callers
Function
file_exists
(filename string)
utils.go:65
↓ 14 callers
Method
offset
(p token.Pos)
autocompletefile.go:61
↓ 14 callers
Method
string
()
package_bin.go:660
↓ 13 callers
Method
next
()
_gccgo/package.go:156
↓ 13 callers
Method
read_type
()
_gccgo/package.go:260
↓ 13 callers
Method
uint64
()
package_ibin.go:608
↓ 12 callers
Method
add_named_decl
adds declaration or returns an existing one
scope.go:39
↓ 12 callers
Function
check_for_anon_type
-------------------------------------------------------------------------
decl.go:276
↓ 12 callers
Method
expect_ident
makes sure that the current token is scanner.Ident and is equals to 'ident', reads the next one
_gccgo/package.go:253
↓ 12 callers
Method
parse_type
Type = BasicType | TypeName | ArrayType | SliceType | StructType | PointerType | FuncType | InterfaceType | MapType | ChanType | "(" Type ")" . Basic
package_text.go:427
↓ 12 callers
Method
typ
()
package_ibin.go:587
↓ 11 callers
Method
expect_keyword
(keyword string)
package_text.go:98
↓ 10 callers
Function
new_decl
(name string, class decl_class, scope *scope)
decl.go:317
↓ 10 callers
Method
uint64
()
package_ibin.go:62
↓ 9 callers
Function
advance_scope
returns: new, prev
scope.go:31
↓ 9 callers
Method
clear_visited
()
decl.go:398
↓ 9 callers
Method
go_back
()
cursorcontext.go:70
↓ 9 callers
Method
is_visited
()
decl.go:390
↓ 9 callers
Method
paramList
()
package_bin.go:536
↓ 9 callers
Method
pos
see cmd/compile/internal/gc/bexport.go
package_bin.go:262
↓ 9 callers
Method
recordMaybe
(idx int, t ast.Expr)
package_bin.go:309
↓ 9 callers
Method
reserveMaybe
()
package_bin.go:300
↓ 9 callers
Method
set_visited
()
decl.go:394
↓ 9 callers
Function
type_to_decl
(t ast.Expr, scope *scope)
decl.go:600
↓ 8 callers
Method
add_child
(cd *decl)
decl.go:457
↓ 8 callers
Method
cursor_in
(block *ast.BlockStmt)
autocompletefile.go:411
↓ 8 callers
Method
errorf
(format string, args ...interface{})
_gccgo/package.go:210
↓ 8 callers
Method
is_alias
()
decl.go:386
↓ 8 callers
Function
new_scope
(outer *scope)
scope.go:20
↓ 8 callers
Method
token
()
_gccgo/package.go:160
↓ 7 callers
Method
literal
()
cursorcontext.go:35
↓ 7 callers
Function
pretty_print_type_expr
(out io.Writer, e ast.Expr)
_gccgo/package.go:599
↓ 7 callers
Method
rawByte
byte is the bottleneck interface for reading p.data. It unescapes '|' 'S' to '$' and '|' '|' to '|'. rawByte should only be used by low-level decoders
package_bin.go:722
↓ 6 callers
Function
advance_to_type
(pred type_predicate, v ast.Expr, scope *scope)
decl.go:621
↓ 6 callers
Function
is_dir
(path string)
utils.go:73
↓ 6 callers
Function
log_found_package_maybe
(imp, pkgpath string)
declcache.go:266
↓ 6 callers
Method
parse_exported_name
ExportedName = "@" ImportPath "." dotIdentifier .
package_text.go:171
↓ 6 callers
Method
pkg
()
package_bin.go:152
↓ 6 callers
Method
pos
we don't care about that, let's just skip it
package_ibin.go:340
↓ 6 callers
Method
process_block_stmt
(block *ast.BlockStmt)
autocompletefile.go:154
↓ 6 callers
Method
process_stmt
(stmt ast.Stmt)
autocompletefile.go:187
↓ 6 callers
Method
typ
parent is the package which declared the type; parent == nil means the package currently imported. The parent package is needed for exported struct fi
package_bin.go:325
↓ 6 callers
Method
type_dealias
()
decl.go:987
↓ 5 callers
Function
anonymify_ast
(node ast.Node, flags decl_flags, scope *scope)
decl.go:746
↓ 5 callers
Function
new_decl_var
(name string, typ ast.Expr, value ast.Expr, vindex int, scope *scope)
decl.go:326
↓ 5 callers
Method
process_field_list
(field_list *ast.FieldList, s *scope)
autocompletefile.go:377
↓ 5 callers
Method
qualifiedName
()
package_bin.go:294
↓ 5 callers
Method
rawInt64
rawInt64 should only be used by low-level decoders.
package_bin.go:696
↓ 5 callers
Method
string
()
package_ibin.go:590
↓ 5 callers
Method
stringAt
(off uint64)
package_ibin.go:105
↓ 4 callers
Method
add_package_to_scope
(alias, realname string)
package.go:169
↓ 4 callers
Method
append_decl
(p, name, pkg string, decl *decl, class decl_class)
autocompletecontext.go:70
↓ 4 callers
Method
drop_cache
()
server.go:79
↓ 4 callers
Method
error
(msg string)
package_text.go:80
↓ 4 callers
Method
errorf
(format string, args ...interface{})
package_text.go:84
↓ 4 callers
Method
find_child
(name string)
decl.go:1001
↓ 4 callers
Method
ident
()
package_ibin.go:592
↓ 4 callers
Function
infer_type
RETURNS: - type expression which represents a full name of a type - bool whether a type expression is actually a type (used internally) - scope in
decl.go:755
↓ 4 callers
Method
lookup
(name string)
scope.go:67
↓ 4 callers
Method
marker
(want byte)
package_bin.go:684
↓ 4 callers
Function
new_decl_full
-------------------------------------------------------------------------
decl.go:300
↓ 4 callers
Method
parse_name
Name = identifier | "?" | ExportedName .
package_text.go:185
↓ 4 callers
Method
parse_signature
Signature = Parameters [ Result ] . Result = Type | Parameters .
package_text.go:272
↓ 4 callers
Method
pkg
()
package_ibin.go:589
↓ 4 callers
Function
pretty_print_type_expr
(out io.Writer, e ast.Expr, canonical_aliases map[string]string)
decl.go:1132
↓ 4 callers
Method
read_func_type
()
_gccgo/package.go:455
↓ 4 callers
Method
signature
()
package_ibin.go:554
↓ 4 callers
Method
tagOrIndex
---------------------------------------------------------------------------- Low-level decoders
package_bin.go:616
↓ 4 callers
Method
type_value_index
(i int)
decl.go:1382
↓ 4 callers
Method
value_and_type
()
config.go:157
↓ 3 callers
Function
append_to_top_decls
(decls map[string]*decl, decl ast.Decl, scope *scope)
declcache.go:119
↓ 3 callers
Function
ast_decl_class
(d ast.Decl)
decl.go:136
↓ 3 callers
Function
ast_decl_flags
(d ast.Decl)
decl.go:123
↓ 3 callers
Function
ast_field_list_to_decls
(f *ast.FieldList, class decl_class, flags decl_flags, scope *scope, add_anonymous bool)
decl.go:166
↓ 3 callers
Method
bool
()
package_ibin.go:591
↓ 3 callers
Function
client_set
(cli *rpc.Client, Arg0, Arg1 string)
rpc.go:128
↓ 3 callers
Function
config_file
()
os_posix.go:46
↓ 3 callers
Method
decl_package_import_path
(decl *decl)
autocompletecontext.go:244
↓ 3 callers
Method
expand_or_replace
(other *decl)
decl.go:402
↓ 3 callers
Method
expect_special
(what string)
package_text.go:105
↓ 3 callers
Method
expect_special
makes sure that the following set of tokens matches 'special', reads the next one
_gccgo/package.go:236
↓ 3 callers
Method
float
()
package_bin.go:603
↓ 3 callers
Function
foreach_decl
(decl ast.Decl, do foreach_decl_func)
decl.go:1396
↓ 3 callers
Method
get_candidates_from_decl
(cc cursor_context, class decl_class, b *out_buffers)
autocompletecontext.go:254
↓ 3 callers
Method
infer_type
Uses Value, ValueIndex and Scope to infer the type of this declaration. Returns the type itself and the scope where this type makes sense.
decl.go:954
↓ 3 callers
Method
init
(data []byte, pfc *package_file_cache)
package_text.go:57
↓ 3 callers
Method
int64
()
package_ibin.go:600
↓ 3 callers
Method
int64
()
package_bin.go:632
↓ 3 callers
Function
list_value
(v reflect.Value, name string, w io.Writer)
config.go:104
↓ 3 callers
Method
mpfloat
(typ *ast.Ident)
package_ibin.go:453
↓ 3 callers
Method
parse_number
number = int_lit [ "p" int_lit ] .
package_text.go:313
↓ 3 callers
Method
parse_parameters
Parameters = "(" [ ParameterList ] ")" . ParameterList = { Parameter "," } Parameter .
package_text.go:251
↓ 3 callers
Function
pretty_print_func_field_list
(out io.Writer, f *ast.FieldList)
_goremote/goremote.go:61
↓ 3 callers
Function
pretty_print_type_expr
(out io.Writer, e ast.Expr)
_goremote/goremote.go:18
next →
1–100 of 413, ranked by callers