MCPcopy Create free account
hub / github.com/baidu/babylon / process

Method process

test/anyflow/builtin/test_expression.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 virtual int process() noexcept override {
38 auto depend = vertex().anonymous_dependency(0);
39 auto emit = vertex().anonymous_emit(0);
40 if (depend != nullptr && emit != nullptr) {
41 BABYLON_LOG(INFO) << "forward";
42 emit->forward(*depend);
43 } else {
44 BABYLON_LOG(INFO) << "none";
45 }
46 return 0;
47 }
48};
49
50struct ExpressionTest : public ::testing::Test {

Callers

nothing calls this directly

Calls 3

forwardMethod · 0.80
anonymous_dependencyMethod · 0.45
anonymous_emitMethod · 0.45

Tested by

no test coverage detected