summaryrefslogtreecommitdiffstats
path: root/sencha/Lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sencha/Lexer.h')
-rw-r--r--sencha/Lexer.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/sencha/Lexer.h b/sencha/Lexer.h
index 92b6c09..c7e2906 100644
--- a/sencha/Lexer.h
+++ b/sencha/Lexer.h
@@ -14,13 +14,7 @@ class Lexer
Lexer();
virtual ~Lexer();
- bool is_keyword(string value);
- bool is_punctuation(char c);
- bool is_operator(string value );
- vector<string> keywords;
- vector<char> punctuation;
- vector<string> operators;
void add_keyword(string word);
void add_punctuation_char(char c);
@@ -31,7 +25,15 @@ class Lexer
type_of_token guess_type(string value);
protected:
- private:
+ private:
+
+ bool is_keyword(string value);
+ bool is_punctuation(char c);
+ bool is_operator(string value );
+
+ vector<string> keywords;
+ vector<char> punctuation;
+ vector<string> operators;
};
#endif // LEXER_H