MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / ast_wrapInBlock

Function ast_wrapInBlock

src/parser/parser_impl.cpp:1287–1292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1285 }
1286
1287 ExprBlock * ast_wrapInBlock ( Expression * expr ) {
1288 auto block = new ExprBlock();
1289 block->at = expr->at;
1290 block->list.push_back(expr);
1291 return block;
1292 }
1293
1294 int skip_underscode ( char * tok, char * buf, char * bufend ) {
1295 char * out = buf;

Callers 3

yyparseFunction · 0.85
yyparseFunction · 0.85
yyparseFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected