MCPcopy Create free account
hub / github.com/boostorg/spirit / print_variables

Method print_variables

example/qi/compiler_tutorial/calc8/compiler.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void program::print_variables(std::vector<int> const& stack) const
50 {
51 typedef std::pair<std::string, int> pair;
52 BOOST_FOREACH(pair const& p, variables)
53 {
54 std::cout << " " << p.first << ": " << stack[p.second] << std::endl;
55 }
56 }
57
58 void program::print_assembler() const
59 {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected