import{Ident as t,Delim as e}from"../../tokenizer/types.mjs";import"../../tokenizer/char-code-definitions.mjs";import"../../tokenizer/TokenStream.mjs";const i="Layer",o={name:String};function n(){let i=this.tokenStart,o=this.consume(t);for(;this.isDelim(46);)this.eat(e),o+="."+this.consume(t);return{type:"Layer",loc:this.getLocation(i,this.tokenStart),name:o}}function r(t){this.tokenize(t.name)}export{r as generate,i as name,n as parse,o as structure};