import{LeftCurlyBracket as e,Semicolon as t}from"../../tokenizer/types.mjs";import"../../tokenizer/char-code-definitions.mjs";import"../../tokenizer/TokenStream.mjs";const r="AtrulePrelude",i="atrulePrelude",o={children:[[]]};function l(r){let i=null;return null!==r&&(r=r.toLowerCase()),this.skipSC(),i=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].prelude?this.atrule[r].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==e&&this.tokenType!==t&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(i),children:i}}function s(e){this.children(e)}export{s as generate,r as name,l as parse,o as structure,i as walkContext};