import{Delim as t,Hash as e}from"../../tokenizer/types.mjs";import"../../tokenizer/char-code-definitions.mjs";import"../../tokenizer/TokenStream.mjs";const o="IdSelector",n={name:String};function r(){const t=this.tokenStart;return this.eat(e),{type:"IdSelector",loc:this.getLocation(t,this.tokenStart),name:this.substrToCursor(t+1)}}function i(e){this.token(t,"#"+e.name)}export{i as generate,o as name,r as parse,n as structure};