diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-11-21 20:57:02 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2014-11-21 20:57:02 +0100 |
commit | 642ab72a555c6462d14f4abc698ff8ea13884e49 (patch) | |
tree | 520c1ff0053aa25f82fec9c414ee6041a4521971 /src | |
parent | 37fadceb4b2e060844bd1c68f22eb71ce362249d (diff) |
fixed constructor overloading
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CodeTokenizer.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/core/CodeTokenizer.hpp b/src/core/CodeTokenizer.hpp index 0b34d53..247918e 100644 --- a/src/core/CodeTokenizer.hpp +++ b/src/core/CodeTokenizer.hpp @@ -121,26 +121,6 @@ public: : Tokenizer(input, root), descriptors(descriptors), state(CodeTokenizerState::NORMAL) { } - - /** - * - * @param input a BufferedCharReader containing the input for this - * tokenizer, as with a regular tokenizer. - * @param root a TokenTreeNode representing the root of the TokenTree. - * Please note that you have to specify all tokenIDs here that you use - * in the descriptors map. - * @param descriptors a map mapping tokenIDs to CodeTokenDescriptors. - * In this way you can specify the meaning of certain Tokens. Say you - * specified the Token "//" with the id 1 in the TokenTree. Then you could - * add the entry "1" with the Mode "LINE_COMMENT" to the descriptors map - * and this CodeTokenizer would recognize the token "//" as starting a - * line comment. - */ - CodeTokenizer(BufferedCharReader &input, const TokenTreeNode &root, - std::map<int, CodeTokenDescriptor> descriptors) - : Tokenizer(input, root), descriptors(descriptors), state(CodeTokenizerState::NORMAL) - { - } }; } |