diff options
| author | 2015-04-08 08:47:35 +0200 | |
|---|---|---|
| committer | 2015-04-08 08:47:35 +0200 | |
| commit | 9192ba51a362715061cce1104b5543f7e93bf70f (patch) | |
| tree | f2a80282c29bf566ec96098a88d76df3f7125bfc | |
| parent | 77ce7ecc41f1f5b6a4f74187451a948ad4ad7721 (diff) | |
| download | OneRoll-9192ba51a362715061cce1104b5543f7e93bf70f.tar.gz OneRoll-9192ba51a362715061cce1104b5543f7e93bf70f.zip | |
Add comments
| -rw-r--r-- | diceparser.h | 27 | ||||
| -rw-r--r-- | node/jumpbackwardnode.h | 8 |
2 files changed, 27 insertions, 8 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); diff --git a/node/jumpbackwardnode.h b/node/jumpbackwardnode.h index 4ea3d11..c6c1e4d 100644 --- a/node/jumpbackwardnode.h +++ b/node/jumpbackwardnode.h @@ -6,8 +6,14 @@ class JumpBackwardNode : public ExecutionNode { public: + /** + * @brief JumpBackwardNode allows to get result from remote node in the execution tree. + */ JumpBackwardNode(); - + /** + * @brief run - performs the actions + * @param previous + */ virtual void run(ExecutionNode* previous = NULL); /** |