Skip to content

Commit

Permalink
Update dependencies and regenerate CSS parser (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: mskelton <[email protected]>
  • Loading branch information
github-actions[bot] and mskelton authored Sep 1, 2024
1 parent e8bf912 commit b729198
Show file tree
Hide file tree
Showing 5 changed files with 6,263 additions and 5,659 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

135 changes: 117 additions & 18 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,29 +653,79 @@
"named": false,
"value": ":"
},
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "identifier"
},
"named": true,
"value": "class_name"
},
{
"type": "CHOICE",
"members": [
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "pseudo_class_arguments"
},
"named": true,
"value": "arguments"
"type": "SEQ",
"members": [
{
"type": "ALIAS",
"content": {
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "has"
},
{
"type": "STRING",
"value": "not"
},
{
"type": "STRING",
"value": "is"
},
{
"type": "STRING",
"value": "where"
}
]
},
"named": true,
"value": "class_name"
},
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "pseudo_class_with_selector_arguments"
},
"named": true,
"value": "arguments"
}
]
},
{
"type": "BLANK"
"type": "SEQ",
"members": [
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "identifier"
},
"named": true,
"value": "class_name"
},
{
"type": "CHOICE",
"members": [
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "pseudo_class_arguments"
},
"named": true,
"value": "arguments"
},
{
"type": "BLANK"
}
]
}
]
}
]
}
Expand Down Expand Up @@ -1025,6 +1075,55 @@
}
]
},
"pseudo_class_with_selector_arguments": {
"type": "SEQ",
"members": [
{
"type": "IMMEDIATE_TOKEN",
"content": {
"type": "STRING",
"value": "("
}
},
{
"type": "CHOICE",
"members": [
{
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_selector"
},
{
"type": "REPEAT",
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": ","
},
{
"type": "SYMBOL",
"name": "_selector"
}
]
}
}
]
},
{
"type": "BLANK"
}
]
},
{
"type": "STRING",
"value": ")"
}
]
},
"pseudo_element_arguments": {
"type": "SEQ",
"members": [
Expand Down Expand Up @@ -1869,7 +1968,7 @@
},
"identifier": {
"type": "PATTERN",
"value": "(--|-?[a-zA-Z_])[a-zA-Z0-9-_]*"
"value": "(--|-?[a-zA-Z_\\xA0-\\xFF])[a-zA-Z0-9-_\\xA0-\\xFF]*"
},
"at_keyword": {
"type": "PATTERN",
Expand Down
Loading

0 comments on commit b729198

Please sign in to comment.