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

Method print

tools/transform.cpp:1964–1977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1962}
1963
1964void Transform::print(ostream &os, const TransformPrintOpts &opt) const {
1965 os << "\n----------------------------------------\n";
1966 if (!name.empty())
1967 os << "Name: " << name << '\n';
1968 if (precondition) {
1969 precondition->print(os << "Pre: ");
1970 os << '\n';
1971 }
1972 src.print(os, opt.print_fn_header);
1973 if (!opt.skip_tgt) {
1974 os << "=>\n";
1975 tgt.print(os, opt.print_fn_header);
1976 }
1977}
1978
1979ostream& operator<<(ostream &os, const Transform &t) {
1980 t.print(os, {});

Callers 7

mainFunction · 0.45
mainFunction · 0.45
errorFunction · 0.45
transform.cppFile · 0.45
execFunction · 0.45
toStringFunction · 0.45
verifyMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected