import { Argument , Attribute } from '../arguments' ; import { Block } from '.' ; category export class Locals extends Block { param args constructor ( args ? ) { super ( 'locals' , [ ] , args ) ; } override asArgument ( ) { throw new Error ( 'Inaccessible method.' ) ; } override attr ( _name ) { throw new Error ( 'Inaccessible method.' ) ; } arg ( name ) { return new Argument ( `local.${ name }` ) ; } }