import{LeftParenthesis as t,RightParenthesis as o}from"../../tokenizer/types.mjs";import"../../tokenizer/char-code-definitions.mjs";import"../../tokenizer/TokenStream.mjs";const i="SupportsDeclaration",e={declaration:"Declaration"};function n(){const i=this.tokenStart;this.eat(t),this.skipSC();const e=this.Declaration();return this.eof||this.eat(o),{type:"SupportsDeclaration",loc:this.getLocation(i,this.tokenStart),declaration:e}}function r(i){this.token(t,"("),this.node(i.declaration),this.token(o,")")}export{r as generate,i as name,n as parse,e as structure};