This commit is contained in:
parent
5fb64e12e1
commit
bfb47d9b5f
@ -55,15 +55,7 @@ namespace MalachScript {
|
||||
ArithmeticRightShift,
|
||||
};
|
||||
|
||||
enum class PreOperator : uint8_t {
|
||||
Negation,
|
||||
Identity,
|
||||
Inversion,
|
||||
Increment,
|
||||
Decrement,
|
||||
BitwiseComplement,
|
||||
Handle
|
||||
};
|
||||
enum class PreOperator : uint8_t { Negation, Identity, Inversion, Increment, Decrement, BitwiseComplement, Handle };
|
||||
}
|
||||
|
||||
#endif // MALACHSCRIPT_OPERATORS_HPP
|
||||
|
@ -319,6 +319,7 @@ namespace MalachScript::Parser {
|
||||
: ParsedStatementImpl(span), _literalValue(literalValue) {}
|
||||
|
||||
[[nodiscard]] inline const T& GetLiteralValue() const noexcept { return _literalValue; }
|
||||
|
||||
private:
|
||||
T _literalValue;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user