PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/CBR/CBR.Core/Helpers/HTML/HtmlTokenType.cs

#
C# | 29 lines | 16 code | 1 blank | 12 comment | 0 complexity | 96826cf180294d6cb5232f4a1a4bd3a6 MD5 | raw file
 1//---------------------------------------------------------------------------
 2// 
 3// File: HtmlTokenType.cs
 4//
 5// Copyright (C) Microsoft Corporation.  All rights reserved.
 6//
 7// Description: Definition of token types supported by HtmlLexicalAnalyzer
 8//
 9//---------------------------------------------------------------------------
10
11namespace HTMLConverter
12{
13    /// <summary>
14    /// types of lexical tokens for html-to-xaml converter
15    /// </summary>
16    internal enum HtmlTokenType
17    {
18        OpeningTagStart,
19        ClosingTagStart,
20        TagEnd,
21        EmptyTagEnd,
22        EqualSign,
23        Name,
24        Atom, // any attribute value not in quotes
25        Text, //text content when accepting text
26        Comment,
27        EOF,
28    }
29}