Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81270 / js2html / Token.cpp
diff options
context:
space:
mode:
Commit13f074686970cf037cbd8a4c492033bb7b14562d (patch)
Author
 Bilyal Mestanov <bmestanov@gmail.com>
2018-11-07 14:49:11 +0200
Committer
 dtrendafilov <trendafilov.dn@gmail.com>
2018-11-07 14:49:11 +0200
Files5fc01ccd3947a8baaf62433be16c6b9f68a3d181 /homework/81270/js2html/Token.cpp
IPL-13f074686970cf037cbd8a4c492033bb7b14562d.tar
IPL-13f074686970cf037cbd8a4c492033bb7b14562d.tar.gz
IPL-13f074686970cf037cbd8a4c492033bb7b14562d.zip
Parent93cd8cac8a616ae13bd42dcbee0bb9da278eb49d (diff)
Add homework 1 (#23)
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) {
+}