summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/nsToken.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/nsToken.h')
-rw-r--r--parser/htmlparser/nsToken.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/parser/htmlparser/nsToken.h b/parser/htmlparser/nsToken.h
new file mode 100644
index 000000000..6221aca57
--- /dev/null
+++ b/parser/htmlparser/nsToken.h
@@ -0,0 +1,19 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef CTOKEN__
+#define CTOKEN__
+
+enum eHTMLTokenTypes {
+ eToken_unknown=0,
+ eToken_start=1, eToken_end, eToken_comment, eToken_entity,
+ eToken_whitespace, eToken_newline, eToken_text, eToken_attribute,
+ eToken_instruction, eToken_cdatasection, eToken_doctypeDecl, eToken_markupDecl,
+ eToken_last //make sure this stays the last token...
+};
+
+#endif
+
+