MCPcopy Index your code
hub / github.com/nsf/gocode / go_back

Method go_back

cursorcontext.go:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (this *token_iterator) go_back() bool {
71 if this.token_index <= 0 {
72 return false
73 }
74 this.token_index--
75 return true
76}
77
78var bracket_pairs_map = map[token.Token]token.Token{
79 token.RPAREN: token.LPAREN,

Callers 5

skip_to_leftMethod · 0.95
extract_type_alikeMethod · 0.95
extract_struct_typeMethod · 0.95
extract_go_exprMethod · 0.95
deduce_cursor_contextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected