2 * ParserNode.h - TaskJuggler
4 * Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
23 ParserNode(ParserElement* parent = 0);
26 void add(const ParserElement* pe, const QString& key)
28 elements.insert(key, pe);
31 const ParserElement* getElement(const QString& key) const;
33 ParserElement* getParentElement() const { return parentElement; }
36 ParserElement* parentElement;
37 QDict<const ParserElement> elements;