Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / Expression.h
diff options
context:
space:
mode:
Commit206b1bd6abb5841c5db65270d9ced2f3442ce19b (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-06 12:03:42 +0300
Committer
 Martin Dobrev <martindobrev0@gmail.com>
2018-10-06 14:23:46 +0300
Files59c39e65c917ddc758bfc49260186216650d9007 /JSImpl/src/Expression.h
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.tar
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.tar.gz
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.zip
Parentf016e92dfd9e340529fac9c7673b333077e8072b (diff)
Started Linux port for JSImpl
- Added genie build script - fixed build with g++
1 files changed, 3 insertions, 3 deletions
-rw-r--r--JSImpl/src/Expression.h6
diff --git a/JSImpl/src/Expression.h b/JSImpl/src/Expression.h
index 0927ba8..dc37753 100644
--- a/JSImpl/src/Expression.h
+++ b/JSImpl/src/Expression.h
@@ -8,7 +8,7 @@ class Expression : public IPLEnableShared<Expression>
{
public:
virtual ~Expression() {}
- virtual void Print(std::ostream& os) const {};
+ virtual void Print(std::ostream&) const {};
virtual void Accept(ExpressionVisitor& v) = 0;
};
@@ -65,10 +65,10 @@ public:
virtual void Print(std::ostream& os) const override;
virtual void Accept(ExpressionVisitor& v) override { v.Visit(this); }
private:
+ LiteralType m_Type;
+ bool m_BooleanValue;
double m_NumValue;
IPLString m_StringValue;
- bool m_BooleanValue;
- LiteralType m_Type;
};