OSDN Git Service

lexical/js/parser.hpp Add.
authorMyun2 <myun2@nwhite.info>
Thu, 23 Sep 2010 13:23:14 +0000 (22:23 +0900)
committerMyun2 <myun2@nwhite.info>
Thu, 23 Sep 2010 13:23:14 +0000 (22:23 +0900)
roast_ex/include/roast/lexical/js/parser.hpp [new file with mode: 0644]

diff --git a/roast_ex/include/roast/lexical/js/parser.hpp b/roast_ex/include/roast/lexical/js/parser.hpp
new file mode 100644 (file)
index 0000000..b97ced1
--- /dev/null
@@ -0,0 +1,31 @@
+//     Roast+ License
+
+/*
+       JavaScript Parser
+*/
+#ifndef __SFJP_ROAST_EX__lexical__js__parser_HPP__
+#define __SFJP_ROAST_EX__lexical__js__parser_HPP__
+
+#include "roast/lexical.hpp"
+
+namespace roast
+{
+       namespace js
+       {
+               using namespace ::roast::lexical;
+               using namespace ::roast::lexical::rule;
+               using namespace ::roast::lexical::rule::chars;
+
+               /*typedef seq<
+                       unichar<'/'>,
+                       unichar<'*'>,
+                       
+                       unichar<'*'>,
+                       unichar<'/'>
+               > comment;
+               
+               typedef rule;*/
+       }
+}
+
+#endif//__SFJP_ROAST_EX__lexical__js__parser_HPP__