From 9192ba51a362715061cce1104b5543f7e93bf70f Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 8 Apr 2015 08:47:35 +0200 Subject: Add comments --- diceparser.h | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'diceparser.h') diff --git a/diceparser.h b/diceparser.h index f9db840..7ec09ee 100644 --- a/diceparser.h +++ b/diceparser.h @@ -158,7 +158,17 @@ public: * @return */ QString humanReadableError(); + /** + * @brief getAliases + * @return + */ QList* getAliases(); + /** + * @brief DiceParser::convertAlias + * @param str + * @return + */ + QString convertAlias(QString str); private: /** @@ -220,12 +230,6 @@ private: * @return */ bool readOperand(QString&,ExecutionNode* & node); - /** - * @brief DiceParser::convertAlias - * @param str - * @return - */ - QString convertAlias(QString str); /** * @brief getErrorList @@ -246,8 +250,17 @@ private: */ bool readNode(QString& str,ExecutionNode* & node); - + /** + * @brief getLeafNode + * @return + */ ExecutionNode* getLeafNode(); + + /** + * @brief hasResultOfType + * @param notthelast + * @return + */ bool hasResultOfType(Result::RESULT_TYPE,bool notthelast = false); -- cgit v1.2.3-70-g09d2