From 7128a5853db709548f3ec9fe63973cbf7ccc5c54 Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Fri, 7 Sep 2018 19:19:56 +0300 Subject: Enhance unary and literal expresion print functionlity. --- JSImpl/src/Expression.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'JSImpl/src/Expression.h') diff --git a/JSImpl/src/Expression.h b/JSImpl/src/Expression.h index f2ad3e6..c16157a 100644 --- a/JSImpl/src/Expression.h +++ b/JSImpl/src/Expression.h @@ -21,7 +21,7 @@ public: BinaryExpression(IPLSharedPtr exprLeft, IPLSharedPtr exprRight, TokenType op); virtual void Print(std::ostream& os); private: - IPLString GetBinaryTypeAsString(); + IPLString GetOperatorTypeAsString(); private: IPLSharedPtr m_Left; IPLSharedPtr m_Right; @@ -37,7 +37,7 @@ public: UnaryExpression(IPLSharedPtr expr, TokenType op, bool suffix); virtual void Print(std::ostream& os); private: - IPLString GetBinaryTypeAsString(); + IPLString GetOperatorTypeAsString(); private: IPLSharedPtr m_Expr; TokenType m_Operator; -- cgit v1.3.1-23-gd82d