Main program: CSS_Program
Count | Terminals: | |
21 | CSS_Base64: A string enclosed in quotes | |
23,058 | CSS_Class_Definition: An identifier | |
475 | CSS_Comment: Comment | |
231 | CSS_FileName: A string enclosed in quotes | |
5,703 | CSS_HexNumber: A hex number | |
54,694 | CSS_Identifier: An identifier | |
1,301 | CSS_Literal: A string enclosed in quotes | |
26,024 | CSS_Number: A number | |
Count | Statistics(*) | Tokens: |
359 | (none | 1% | 99% | none | none) | CSS_AtEntry: (CSS_AtCharset | CSS_AtImport | CSS_AtMedia | CSS_AtNamespace | CSS_Moz_Document) |
| CSS_AtCharset: '@' "charset" CSS_Literal ';' | ||
2 | all all all all | | CSS_AtImport: '@' "import" CSS_ImportWhat ';' |
2 | (none | all) | | | CSS_ImportWhat: (CSS_FileName | CSS_URL_Value) |
357 | all all all 1.19(27%) all all 4.45 all | | CSS_AtMedia: '@' "media" CSS_MediaParam [CSS_MoreMediaParam]* '{' [CSS_Comment] CSS_Body* '}' |
472 | (86% | 6% | 8%) | | | CSS_MediaParam: (CSS_MediaParamParens | CSS_MediaPrint | CSS_MediaScreen) |
406 | all all all | | | | CSS_MediaParamParens: '(' CSS_Line ')' |
30 | all | | | | CSS_MediaPrint: "print" |
36 | all all | | | | CSS_MediaScreen: ["only"] "screen" |
115 | 10% all all | | | CSS_MoreMediaParam: [','] ["and"] CSS_MediaParam |
| CSS_AtNamespace: '@' "namespace" CSS_Identifier "URL" '(' CSS_FileName ')' ';' | ||
| CSS_Moz_Document: '@' "-moz-document" "url-prefix" '(' CSS_Literal ')' '{' CSS_Body* '}' | ||
367 | all all all 3.02(all) all | CSS_Gradient: ("linear-gradient"|"-moz-linear-gradient"|"-ms-linear-gradient"|"-o-linear-gradient"|"-webkit-linear-gradient"|"-webkit-gradient") '(' CSS_Gradient_Piece [CSS_MoreGradient]* ')' |
1,474 | (1% | 13% | none | 7% | 43% | 30% | 7%) | | CSS_Gradient_Piece: (CSS_Gradient_Direction | CSS_Gradient_Source | CSS_NumberNumber | "linear" | ("top"|"bottom"|"left"|"right") | CSS_HexNumber | CSS_Color) |
13 | all all | | | CSS_Gradient_Direction: ("from"|"to") ("top"|"bottom"|"left"|"right") |
194 | all all all all | | | CSS_Gradient_Source: ("from"|"to") '(' CSS_Value ')' |
| | CSS_NumberNumber: CSS_Number [CSS_Number] ['%'] | ||
1,107 | 82% all | | CSS_MoreGradient: [','] CSS_Gradient_Piece |
896 | 15.02(99%) | CSS_Program: [CSS_Entry]* |
14,497 | 2.19(100%) none all 2.10(100%) 0% all 2.00(0%) 0% 0% 0% 0% | | CSS_Body: [CSS_TagList]* ['*'] '{' [CSS_Item]* [CSS_BackslashZero] '}' [CSS_ColonOption]* [CSS_StarPiece] [CSS_Qualifier] [','] [';'] |
5 | all all | | | CSS_BackslashZero: '\' CSS_Number |
2 | all none all all all | | | CSS_StarPiece: '*' [':'] ["first-child"] ['+'] "html" |
13,371 | (1% | 97% | none | 3%) | | CSS_Entry: (CSS_Comment | CSS_Body | CSS_If_Directive | CSS_AtEntry) |
30,459 | (0% | 0% | 0% | 100%) | | CSS_Item: (CSS_PercentItem | CSS_ToItem | CSS_Comment | CSS_Line) |
36 | all all all 1.67(all) all | | | CSS_PercentItem: CSS_Number '%' '{' [CSS_Item]* '}' |
36 | all all 1.17(all) all | | | CSS_ToItem: ("from"|"to") '{' [CSS_Item]* '}' |
30,780 | 0% all all 100% 0% 58% 0% | | CSS_Line: ['*'] CSS_Identifier (":"|"=") [CSS_Value_List] [CSS_Tab] [';'] [';'] |
25 | all | | | CSS_Tab: "\9" |
30,777 | all 1.96(16%) | | | CSS_Value_List: CSS_Value [CSS_MoreValues]* |
9,671 | (4% | 96%) | | | | CSS_MoreValues: (CSS_MoreValuesComma | CSS_Value) |
351 | all all | | | | | CSS_MoreValuesComma: ',' CSS_Value |
922 | all all all all | CSS_Qualifier: '[' CSS_QualifierChoice ']' ['>'] |
922 | (59% | 2% | 1% | none | 2% | none | 0% | 1% | 29% | 6%) | | CSS_QualifierChoice: (CSS_QualiferCode | CSS_QualifierClass | CSS_QualifierDataToggle | CSS_QualifierDir | CSS_QualifierFrame | CSS_QualifierHighlight | CSS_QualifierRole | CSS_QualifierRow | CSS_QualifierType | ("has-element-focus"|"multiple"|"readonly"|"selected"|"size"|"subframe")) |
545 | all 2% | | | CSS_QualiferCode: ("controls"|"data-original-title"|"disabled"|"hidden"|"href"|"title") [CSS_BracketsHatEquals] |
10 | all all all | | | | CSS_BracketsHatEquals: '^' '=' CSS_Literal |
20 | all all all all | | | CSS_QualifierClass: "class" '*' '=' CSS_Value |
10 | all all all | | | CSS_QualifierDataToggle: "data-toggle" '=' CSS_Value |
| | CSS_QualifierDir: "dir" '=' CSS_QualifierWhichDir | ||
| | | CSS_QualifierWhichDir: (("rtl") | CSS_Literal) | ||
15 | all all all | | | CSS_QualifierFrame: ("aria-valuenow"|"frame"|"page") '=' CSS_Literal |
| | CSS_QualifierHighlight: "highlight" '=' CSS_QualifierWhichHighlight | ||
| | | CSS_QualifierWhichHighlight: (("strong") | CSS_Literal) | ||
3 | all all all | | | CSS_QualifierRole: "role" '=' CSS_QualifierWhichRole |
3 | (all | none) | | | | CSS_QualifierWhichRole: (("button"|"number"|"text") | CSS_Literal) |
5 | all all all | | | CSS_QualifierRow: "row$" '=' CSS_Literal |
269 | all all all | | | CSS_QualifierType: "type" '=' CSS_QualifierWhichType |
269 | (all | none) | | | | CSS_QualifierWhichType: (("button"|"checkbox"|"date"|"datetime-local"|"email"|"file"|"month"|"number"|"password"|"radio"|"range"|"reset"|"search"|"submit"|"time"|"text") | CSS_Literal) |
31,720 | all 0% all all 10% 3% 1.00(0%) 1.02(20%) all | CSS_TagList: ['@'] [':'] ["::"] CSS_Tag [CSS_DotClass] [CSS_Qualifier] [CSS_MoreQualifiers]* [CSS_ColonOption]* [(","|"+"|"~"|">")] |
6,633 | all all 32% | | CSS_ColonOption: ':' CSS_ColonWhat [','] |
6,633 | (3% | 0% | 97%) | | | CSS_ColonWhat: (CSS_ColonNot | CSS_Nth_Child | ("active"|"after"|"before"|"checked"|"decrement"|"default"|"end"|"first-child"|"focus"|"horizontal"|"hover"|"increment"|"last-child"|"link"|"-moz-any-link"|"-o-prefocus"|"start"|"vertical"|"visited")) |
185 | all all all all | | | | CSS_ColonNot: "not" '(' CSS_ColonNotWhat ')' |
185 | (97% | 3%) | | | | | CSS_ColonNotWhat: (CSS_ColonNotClass | CSS_Qualifier) |
180 | all all | | | | | | CSS_ColonNotClass: ("."|":") CSS_Class_Definition |
10 | all all all all | | | | CSS_Nth_Child: ("nth-child"|"nth-last-child") '(' CSS_Value ')' |
22,933 | all all | | CSS_DotClass: '.' CSS_DotWhat |
22,933 | (0% | 100%) | | | CSS_DotWhat: ("media" | CSS_Class_Definition) |
15 | 33% all | | CSS_MoreQualifiers: [','] CSS_Qualifier |
31,720 | (2% | 37% | 61% | 0%) | | CSS_Tag: (CSS_Id_DotClass | CSS_Identifier | CSS_DotClass | '*') |
654 | all all | | | CSS_Id_DotClass: CSS_Identifier CSS_DotClass |
41,527 | (0% | 0% | 0% | 0% | 28% | 2% | 0% | 48% | 0% | 0% | 0% | 0% | 1% | none | 13% | 4% | 3% | 1%) | CSS_Value: (CSS_Alpha_Value | CSS_Attr | CSS_Cubic_Bezier | CSS_Format | CSS_IdentifierValue | CSS_Important | CSS_Microsoft_Gradient | CSS_NumericValue | CSS_Rect | CSS_RotateValue | CSS_Scale | CSS_Translate3d | CSS_URL_Value | CSS_Webkit_Image_Set | CSS_HexNumber | CSS_Color | CSS_Literal | CSS_Gradient) |
102 | all all all all all all | | CSS_Alpha_Value: "alpha" '(' "opacity" '=' CSS_Number ')' |
10 | all all all all | | CSS_Attr: "attr" '(' ("href"|"title") ')' |
6 | all all all all all all all all all all | | CSS_Cubic_Bezier: "cubic-bezier" '(' CSS_Number ',' CSS_Number ',' CSS_Number ',' CSS_Number ')' |
20 | all all all all | | CSS_Format: "format" '(' CSS_Literal ')' |
11,452 | all 1% | | CSS_IdentifierValue: CSS_Identifier [CSS_FunctionCall] |
94 | all 12.94(99%) all | | | CSS_FunctionCall: '(' [CSS_Value]* ')' |
981 | all all | | CSS_Important: '!' "important" |
78 | all all all all all all all all all 1.63(94%) all | | CSS_Microsoft_Gradient: "progid" ':' "DXImageTransform" '.' "Microsoft" '.' "gradient" '(' CSS_MS_GradientPiece [CSS_More_MS_GradientPieces]* ')' |
197 | all all all | | | CSS_MS_GradientPiece: ("startColorStr"|"endColorStr"|"GradientType"|"enabled") '=' CSS_Value |
119 | all all | | | CSS_More_MS_GradientPieces: ',' CSS_MS_GradientPiece |
20,514 | all 70% 0% | | CSS_NumericValue: CSS_Number [CSS_NumericSuffix] [CSS_SlashNumber] |
14,363 | (85% | 15%) | | | CSS_NumericSuffix: (("px"|"em"|"s"|"in"|"deg") | '%') |
15 | all all 67% | | | CSS_SlashNumber: '/' CSS_Number [CSS_NumericSuffix] |
7 | all all all 71% all 71% all 71% all all | | CSS_Rect: "rect" '(' CSS_Number [','] CSS_Number [','] CSS_Number [','] CSS_Number ')' |
3 | all all all all all | | CSS_RotateValue: "rotate" '(' CSS_Number "deg" ')' |
66 | all all all all all all | | CSS_Scale: "scale" '(' CSS_Number ',' CSS_Number ')' |
51 | all all all all all all all all | | CSS_Translate3d: "translate3d" '(' CSS_Number ',' CSS_Number ',' CSS_Number ')' |
252 | all all all all | | CSS_URL_Value: "url" '(' CSS_File ')' |
252 | (8% | 92%) | | | CSS_File: (CSS_FileInline | CSS_FileName) |
21 | all all all all all all all all all | | | | CSS_FileInline: "data" ':' "image" '/' "png" ';' "base64" ',' CSS_Base64 |
| CSS_Webkit_Image_Set: "-webkit-image-set" '(' CSS_Webkit_Value [CSS_More_WebkitPieces]* ')' | ||
| | CSS_More_WebkitPieces: ',' CSS_Webkit_Value | ||
| | CSS_Webkit_Value: CSS_Value ("1x"|"2x"|"3x") | ||
CSS_If_Directive: '<' "if" "expr" '=' CSS_Literal '>' CSS_Entry* CSS_EndIf | ||
| CSS_EndIf: '<' '/' "if" '>' | ||
1,716 | (none | 2% | 72% | 1% | 13% | 12%) | CSS_Color: (CSS_HSL_Value | CSS_QualifiedColor | CSS_RGBA_Value | CSS_RGB_Value | CSS_Transparent | ("black"|"blue"|"green"|"red"|"white")) |
| CSS_HSL_Value: "hsl" '(' CSS_Number ',' CSS_Number ['%'] ',' CSS_Number ['%'] ')' | ||
36 | all all | | CSS_QualifiedColor: [("dark"|"light")] ("gray"|"grey") |
1,244 | all all all all all all all all all all 23% | | CSS_RGBA_Value: "rgba" '(' CSS_Number ',' CSS_Number ',' CSS_Number ',' CSS_Number ')' [CSS_NumericValue] |
12 | all all all all all all all all | | CSS_RGB_Value: "rgb" '(' CSS_Number ',' CSS_Number ',' CSS_Number ')' |
225 | all all | | CSS_Transparent: "transparent" CSS_NumericValue |
Terminals = 8 (instances=111,507)
Tokens = 91 (instances=355,997)
(*) Statistics are shown in the same order as the Tokens.
Percentages are rounded; 'all' and 'none' mean 100% and 0% before rounding.
For lists, it shows the average number of occurrences, excluding empty lists.