ROSE 0.11.145.192
myloop.h
1/*
2 * A toy loop data structure demonstrating a thin client of abstract handles:
3 * A simplest loop tool which keeps a tree of loops in a file
4 */
5#ifndef my_loop_INCLUDED
6#define my_loop_INCLUDED
7
8#include <string>
9#include <vector>
10class MyLoop
11{
12public:
13 std::string sourceFileName;
14 size_t line_number;
15 std::vector<MyLoop*> children;
16 MyLoop* parent;
17};
18
19#endif