aboutsummaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-09 18:04:18 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-09 18:04:18 +0800
commitf5f03fddd700419905d58b75ad1d02c053c684bb (patch)
tree137affa45cc2e309cb10e97689733076ac8e2a3b /parser.h
parentf8a870c48886e8828155d05b0da6b7868344ba6a (diff)
removed trailing spaces
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/parser.h b/parser.h
index 823c90e..d585e7b 100644
--- a/parser.h
+++ b/parser.h
@@ -9,7 +9,7 @@ using std::string;
const int TOKEN_BUFF_SIZE = 65536;
const int PARSE_STACK_SIZE = 262144;
-/** @class Tokenizor
+/** @class Tokenizor
* Break down the input string stream into tokens
*/
class Tokenizor {
@@ -22,7 +22,7 @@ class Tokenizor {
/** Set the stream to be read from (without setting this, the default
* would be stdin) */
void set_stream(FILE *stream);
- /** Extract the next token
+ /** Extract the next token
* @param ret the extracted token
* @return false if nothing can be read further
* */
@@ -37,13 +37,13 @@ class ASTGenerator {
private:
/** Convert the string to an internal object */
static EvalObj* to_obj(const string &);
- public:
+ public:
ASTGenerator();
/** Read tokens from Tokenizor tk, then return a AST
* @param tk pointer to a Tokenizor
* @return Abstract Syntax Tree
*/
- Pair *absorb(Tokenizor *tk);
+ Pair *absorb(Tokenizor *tk);
};
#endif