Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81270 / js2html / Token.cpp
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rw-r--r--homework/81270/js2html/Token.cpp5
diff --git a/homework/81270/js2html/Token.cpp b/homework/81270/js2html/Token.cpp
new file mode 100644
index 0000000..8e49f1b
--- /dev/null
+++ b/homework/81270/js2html/Token.cpp
@@ -0,0 +1,5 @@
+#include "Token.h"
+
+Token::Token(const TokenType &type, const char *lexeme) :
+ type(type), lexeme(lexeme) {
+}