Implemented parsing the signs of values.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef __SAS__VALUE_H
|
||||
#define __SAS__VALUE_H
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
namespace plasp
|
||||
@@ -16,13 +17,24 @@ namespace sas
|
||||
|
||||
struct Value
|
||||
{
|
||||
enum class Sign
|
||||
{
|
||||
Positive,
|
||||
Negative
|
||||
};
|
||||
|
||||
static const Value Any;
|
||||
|
||||
Sign sign;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
std::ostream &operator <<(std::ostream &ostream, const Value &value);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user