MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / TryExpr

Method TryExpr

src/hx/cppia/Cppia.cpp:6361–6371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6359
6360
6361 TryExpr(CppiaStream &stream)
6362 {
6363 catchCount = stream.getInt();
6364 body = createCppiaExpr(stream);
6365 catches.resize(catchCount);
6366 for(int i=0;i<catchCount;i++)
6367 {
6368 catches[i].var.fromStream(stream);
6369 catches[i].body = createCppiaExpr(stream);
6370 }
6371 }
6372
6373 const char *getName() HXCPP_OVERRIDE { return "TryExpr"; }
6374 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE

Callers

nothing calls this directly

Calls 3

createCppiaExprFunction · 0.85
getIntMethod · 0.45
fromStreamMethod · 0.45

Tested by

no test coverage detected