struct Node
{
-protected:
- Node() { }
- Node(const Node &) { }
+ int source;
+ unsigned line;
+
+ Node(): source(GENERATED_SOURCE), line(1) { }
+ Node(const Node &n): source(n.source), line(n.line) { }
private:
Node &operator=(const Node &);
public:
struct Statement: Node
{
- int source;
- unsigned line;
-
- Statement();
-
virtual Statement *clone() const = 0;
};