MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / parse_copyop

Function parse_copyop

tools/alive_parser.cpp:1211–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209}
1210
1211static unique_ptr<Instr> parse_copyop(string_view name, token t) {
1212 tokenizer.unget(t);
1213 auto &ty = parse_type();
1214 auto &op = parse_operand(ty);
1215 return make_unique<UnaryOp>(ty, string(name), op, UnaryOp::Copy);
1216}
1217
1218static unique_ptr<Instr> parse_instr(string_view name) {
1219 switch (auto t = *tokenizer) {

Callers 1

parse_instrFunction · 0.85

Calls 1

ungetMethod · 0.80

Tested by

no test coverage detected