diff --git a/docs/ast.md b/docs/ast.md index 83fac7c..443b6ee 100644 --- a/docs/ast.md +++ b/docs/ast.md @@ -35,6 +35,8 @@ Interactively explore the AST with [AST Explorer](https://astexplorer.net/#/gist - [Hash](#hash) - [IdSelector](#idselector) - [Identifier](#identifier) + - [LayerName](#layername) + - [LayerNameList](#layernamelist) - [MediaQuery](#mediaquery) - [MediaQueryList](#mediaquerylist) - [NestingSelector](#nestingselector) @@ -338,7 +340,7 @@ Used for [the An+B microsyntax](https://drafts.csswg.org/css-syntax/#anb-microsy type: "Feature", kind: String, name: String, - value: | | | | null + value: | | | | | null } ``` @@ -359,11 +361,11 @@ Used for [the An+B microsyntax](https://drafts.csswg.org/css-syntax/#anb-microsy { type: "FeatureRange", kind: String, - left: | | | , + left: | | | | , leftComparison: String, - middle: | | | , + middle: | | | | , rightComparison: String | null, - right: | | | | null + right: | | | | | null } ``` @@ -415,6 +417,24 @@ Used for [the An+B microsyntax](https://drafts.csswg.org/css-syntax/#anb-microsy } ``` +### LayerName + +```js +{ + type: "LayerName", + name: String +} +``` + +### LayerNameList + +```js +{ + type: "LayerNameList", + children: List +} +``` + ### MediaQuery ```js @@ -514,8 +534,8 @@ Used for [the An+B microsyntax](https://drafts.csswg.org/css-syntax/#anb-microsy ```js { type: "Ratio", - left: String, - right: String + left: | , + right: | | null } ```