コード例 #1
0
 static CssMatchToken()
 {
     include   = new CssMatchToken(CssTokenType.IncludeMatch, "~=");
     dash      = new CssMatchToken(CssTokenType.DashMatch, "|=");
     prefix    = new CssMatchToken(CssTokenType.PrefixMatch, "^=");
     substring = new CssMatchToken(CssTokenType.SubstringMatch, "*=");
     suffix    = new CssMatchToken(CssTokenType.SuffixMatch, "$=");
     not       = new CssMatchToken(CssTokenType.NotMatch, "!=");
 }
コード例 #2
0
ファイル: CssMatchToken.cs プロジェクト: zhlm119/AngleSharp
 static CssMatchToken()
 {
     include = new CssMatchToken {
         _type = CssTokenType.IncludeMatch
     };
     dash = new CssMatchToken {
         _type = CssTokenType.DashMatch
     };
     prefix = new CssMatchToken {
         _type = CssTokenType.PrefixMatch
     };
     substring = new CssMatchToken {
         _type = CssTokenType.SubstringMatch
     };
     suffix = new CssMatchToken {
         _type = CssTokenType.SuffixMatch
     };
     not = new CssMatchToken {
         _type = CssTokenType.NotMatch
     };
 }