/CBR/CBR.Core/Helpers/HTML/HtmlTokenType.cs
C# | 29 lines | 16 code | 1 blank | 12 comment | 0 complexity | 96826cf180294d6cb5232f4a1a4bd3a6 MD5 | raw file
- //---------------------------------------------------------------------------
- //
- // File: HtmlTokenType.cs
- //
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //
- // Description: Definition of token types supported by HtmlLexicalAnalyzer
- //
- //---------------------------------------------------------------------------
-
- namespace HTMLConverter
- {
- /// <summary>
- /// types of lexical tokens for html-to-xaml converter
- /// </summary>
- internal enum HtmlTokenType
- {
- OpeningTagStart,
- ClosingTagStart,
- TagEnd,
- EmptyTagEnd,
- EqualSign,
- Name,
- Atom, // any attribute value not in quotes
- Text, //text content when accepting text
- Comment,
- EOF,
- }
- }