propane/TokenDefinition.h

21 lines
415 B
C++

#ifndef TOKENDEFINITION_H
#define TOKENDEFINITION_H
#include <string>
class TokenDefinition
{
public:
bool create(const std::string & name,
const std::string & definition, const std::string & flags);
std::string getCString() const;
std::string getName() const { return m_name; }
protected:
std::string m_name;
std::string m_definition;
};
#endif