Skip to content

Commit e611e86

Browse files
committed
update types
1 parent f724d82 commit e611e86

File tree

2 files changed

+37
-14
lines changed

2 files changed

+37
-14
lines changed

go/typedefs.vim

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ call extend(s:typedefs.func, {
6161
\ 'in': [],
6262
\ 'out': ['*pos'],
6363
\ },
64+
\ 'VimLParser.parse_heredoc': {
65+
\ 'in': [],
66+
\ 'out': ['*VimNode'],
67+
\ },
6468
\ 'VimLParser.parse_expr': {
6569
\ 'in': [],
6670
\ 'out': ['*VimNode'],
@@ -77,6 +81,10 @@ call extend(s:typedefs.func, {
7781
\ 'in': [],
7882
\ 'out': ['*VimNode'],
7983
\ },
84+
\ 'VimLParser.parse_constlvalue': {
85+
\ 'in': [],
86+
\ 'out': ['*VimNode'],
87+
\ },
8088
\ 'VimLParser.parse_lvaluelist': {
8189
\ 'in': [],
8290
\ 'out': ['[]*VimNode'],
@@ -85,6 +93,10 @@ call extend(s:typedefs.func, {
8593
\ 'in': [],
8694
\ 'out': ['*lhs'],
8795
\ },
96+
\ 'VimLParser.parse_constlhs': {
97+
\ 'in': [],
98+
\ 'out': ['*lhs'],
99+
\ },
88100
\ 'VimLParser.ends_excmds': {
89101
\ 'in': ['string'],
90102
\ 'out': ['bool'],
@@ -110,6 +122,7 @@ call extend(s:typedefs.func, {
110122
\ 'ExprTokenizer.get2': { 'in': [], 'out': ['*ExprToken'] },
111123
\ 'ExprTokenizer.get_sstring': { 'in': [], 'out': ['string'] },
112124
\ 'ExprTokenizer.get_dstring': { 'in': [], 'out': ['string'] },
125+
\ 'ExprTokenizer.parse_dict_literal_key': { 'in': [], 'out': ['*VimNode'] },
113126
\ })
114127

115128
call extend(s:typedefs.func, {
@@ -127,7 +140,9 @@ call extend(s:typedefs.func, {
127140
\ 'ExprParser.parse_expr7': { 'in': [], 'out': ['*VimNode'] },
128141
\ 'ExprParser.parse_expr8': { 'in': [], 'out': ['*VimNode'] },
129142
\ 'ExprParser.parse_expr9': { 'in': [], 'out': ['*VimNode'] },
143+
\ 'ExprParser.parse_rlist': { 'in': [], 'out': ['[]*VimNode'] },
130144
\ 'ExprParser.parse_dot': { 'in': ['*ExprToken', '*VimNode'], 'out': ['*VimNode'] },
145+
\ 'ExprParser.parse_concat': { 'in': ['*ExprToken', '*VimNode'], 'out': ['*VimNode'] },
131146
\ 'ExprParser.parse_identifier': { 'in': [], 'out': ['*VimNode'] },
132147
\ 'ExprParser.parse_curly_parts': { 'in': [], 'out': ['[]*VimNode'] },
133148
\ })
@@ -207,7 +222,9 @@ call extend(s:typedefs.func, {
207222
\ 'StringReader.read_alnum': { 'in': [], 'out': ['string'] },
208223
\ 'StringReader.read_digit': { 'in': [], 'out': ['string'] },
209224
\ 'StringReader.read_odigit': { 'in': [], 'out': ['string'] },
225+
\ 'StringReader.read_blob': { 'in': [], 'out': ['string'] },
210226
\ 'StringReader.read_xdigit': { 'in': [], 'out': ['string'] },
227+
\ 'StringReader.read_bdigit': { 'in': [], 'out': ['string'] },
211228
\ 'StringReader.read_integer': { 'in': [], 'out': ['string'] },
212229
\ 'StringReader.read_word': { 'in': [], 'out': ['string'] },
213230
\ 'StringReader.read_white': { 'in': [], 'out': ['string'] },
@@ -242,7 +259,9 @@ call extend(s:typedefs.func, {
242259
\ 'Compiler.compile_delfunction': { 'in': ['*VimNode'], 'out': [] },
243260
\ 'Compiler.compile_return': { 'in': ['*VimNode'], 'out': [] },
244261
\ 'Compiler.compile_excall': { 'in': ['*VimNode'], 'out': [] },
262+
\ 'Compiler.compile_eval': { 'in': ['*VimNode'], 'out': [] },
245263
\ 'Compiler.compile_let': { 'in': ['*VimNode'], 'out': [] },
264+
\ 'Compiler.compile_const': { 'in': ['*VimNode'], 'out': [] },
246265
\ 'Compiler.compile_unlet': { 'in': ['*VimNode'], 'out': [] },
247266
\ 'Compiler.compile_lockvar': { 'in': ['*VimNode'], 'out': [] },
248267
\ 'Compiler.compile_unlockvar': { 'in': ['*VimNode'], 'out': [] },
@@ -305,8 +324,10 @@ call extend(s:typedefs.func, {
305324
\ 'Compiler.compile_subscript': { 'in': ['*VimNode'], 'out': ['string'] },
306325
\ 'Compiler.compile_slice': { 'in': ['*VimNode'], 'out': ['string'] },
307326
\ 'Compiler.compile_dot': { 'in': ['*VimNode'], 'out': ['string'] },
327+
\ 'Compiler.compile_method': { 'in': ['*VimNode'], 'out': ['string'] },
308328
\ 'Compiler.compile_call': { 'in': ['*VimNode'], 'out': ['string'] },
309329
\ 'Compiler.compile_number': { 'in': ['*VimNode'], 'out': ['string'] },
330+
\ 'Compiler.compile_blob': { 'in': ['*VimNode'], 'out': ['string'] },
310331
\ 'Compiler.compile_string': { 'in': ['*VimNode'], 'out': ['string'] },
311332
\ 'Compiler.compile_list': { 'in': ['*VimNode'], 'out': ['string'] },
312333
\ 'Compiler.compile_dict': { 'in': ['*VimNode'], 'out': ['string'] },
@@ -317,7 +338,9 @@ call extend(s:typedefs.func, {
317338
\ 'Compiler.compile_reg': { 'in': ['*VimNode'], 'out': ['string'] },
318339
\ 'Compiler.compile_curlynamepart': { 'in': ['*VimNode'], 'out': ['string'] },
319340
\ 'Compiler.compile_curlynameexpr': { 'in': ['*VimNode'], 'out': ['string'] },
341+
\ 'Compiler.escape_string': { 'in': ['string'], 'out': ['string'] },
320342
\ 'Compiler.compile_lambda': { 'in': ['*VimNode'], 'out': ['string'] },
343+
\ 'Compiler.compile_heredoc': { 'in': ['*VimNode'], 'out': ['string'] },
321344
\ 'Compiler.compile_parenexpr': { 'in': ['*VimNode'], 'out': ['string'] },
322345
\ })
323346

go/vimlparser.go

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)