PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms 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. namespace HTMLConverter
  11. {
  12. /// <summary>
  13. /// types of lexical tokens for html-to-xaml converter
  14. /// </summary>
  15. internal enum HtmlTokenType
  16. {
  17. OpeningTagStart,
  18. ClosingTagStart,
  19. TagEnd,
  20. EmptyTagEnd,
  21. EqualSign,
  22. Name,
  23. Atom, // any attribute value not in quotes
  24. Text, //text content when accepting text
  25. Comment,
  26. EOF,
  27. }
  28. }