7 type(_type), negative(_negative), integer(), symbol() {}
10 type(_type), negative(_negative), integer(_value), symbol() {}
13 type(_type), negative(_negative), integer(), symbol(_value) {}
16 type(atomic.type), negative(atomic.negative), integer(), symbol() {
17 if (
type == AtomicType::INTEGER) {
32 return !((*this) == atomic);
36 switch (atomic.
type) {
37 case AtomicType::INTEGER: out << atomic.
integer;
break;
38 case AtomicType::SYMBOL: out << atomic.
symbol;
break;
39 case AtomicType::ASTERISK: out << atomic.
symbol;
break;
45 return symbol.size() == 2 &&
61 negative = _value < 0;
65 negative(atomicValue.negative), value(atomicValue.value) {
69 negative = atomicValue.negative;
70 value = atomicValue.value;