diff options
| author | 2015-04-08 08:47:35 +0200 | |
|---|---|---|
| committer | 2015-04-08 08:47:35 +0200 | |
| commit | 9192ba51a362715061cce1104b5543f7e93bf70f (patch) | |
| tree | f2a80282c29bf566ec96098a88d76df3f7125bfc /diceparser.h | |
| parent | 77ce7ecc41f1f5b6a4f74187451a948ad4ad7721 (diff) | |
| download | OneRoll-9192ba51a362715061cce1104b5543f7e93bf70f.tar.gz OneRoll-9192ba51a362715061cce1104b5543f7e93bf70f.zip | |
Add comments
Diffstat (limited to 'diceparser.h')
| -rw-r--r-- | diceparser.h | 27 |
1 files changed, 20 insertions, 7 deletions
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<DiceAlias*>* 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); |