/* Web Polygraph http://www.web-polygraph.org/
* (C) 2003-2006 The Measurement Factory
* Licensed under the Apache License, Version 2.0 */
#ifndef POLYGRAPH__PGL_PGLREC_H
#define POLYGRAPH__PGL_PGLREC_H
#include "xparser/SynSymTbl.h"
// holds "record"-like or "struct"-like info
// records can be nested
class PglRec: public SynSymTbl {
public:
PglRec();
virtual ~PglRec();
virtual SynSymTblItem **valp(const String &key);
PglRec *clone() const;
// builds a SynSymTblItem and adds it
SynSymTblItem *bAdd(const String &type, const String &name, SynSym *s);
};
#endif
syntax highlighted by Code2HTML, v. 0.9.1