xgo/compiler/ast
Jacob R. McCollum adcf05d26f add variadic function parameters (#189)
* parsing variable function types

* finished variadic functions

* fix case where number of passed args to variadic function is 0

* remove extraneous OpVarArgs

* allow multiple variables in variadic function declaration

* fix IdentList string method to print multi-arg variadic functions correctly

* round 2 of fix IdentList string method to print multi-arg variadic functions correctly

round 2 of fix IdentList string method to print multi-arg variadic functions correctly

* clean up tasks in OpCall handling, add tests for variadic closures

* cleanup for pr

- add syntax documentation
- cleanup parseIdentList
- cleanup OpCall handling for functions and closures
- cleanup tests
2019-04-25 21:28:27 -07:00
..
array_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
assign_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
ast.go update directory package structure 2019-01-11 02:27:28 -08:00
bad_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
bad_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
binary_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
block_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
bool_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
branch_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
call_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
char_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
cond_expr.go parser implementation for conditional expression 2019-01-27 16:25:12 -08:00
empty_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
error_expr.go Error Object (#4) 2019-01-16 12:23:20 -08:00
export_stmt.go Fix several module-related issues 2019-02-02 22:22:40 -08:00
expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
expr_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
file.go Improvements on compiler/VM error reporting (filename:line:col) 2019-02-20 16:26:11 -08:00
float_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
for_in_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
for_stmt.go Modules (#5) 2019-01-17 01:56:05 -08:00
func_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
func_type.go Modules (#5) 2019-01-17 01:56:05 -08:00
ident.go Modules (#5) 2019-01-17 01:56:05 -08:00
ident_list.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
ident_list_test.go add variadic function parameters (#189) 2019-04-25 21:28:27 -07:00
if_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
immutable_expr.go adding immutable value (incomplete) 2019-01-24 19:31:17 -08:00
import_expr.go Modules (#5) 2019-01-17 01:56:05 -08:00
inc_dec_stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
index_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
int_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
map_element_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
map_lit.go Modules (#5) 2019-01-17 01:56:05 -08:00
node.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
paren_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
return_stmt.go remove unused code for tuple value return 2019-01-30 02:01:44 -08:00
selector_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
slice_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
stmt.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
string_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
unary_expr.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00
undefined_lit.go Fix lint issues (#2) 2019-01-14 22:24:33 -08:00