@@ -6,9 +6,8 @@ import { AssemblyFlagsDeclaration } from './AssemblyFlagsDeclaration.js';
66import { YulBlock } from './YulBlock.js' ;
77
88import type * as ast from '@nomicfoundation/slang/ast' ;
9- import type { Doc , ParserOptions } from 'prettier' ;
9+ import type { Doc } from 'prettier' ;
1010import type { CollectedMetadata , PrintFunction } from '../types.d.ts' ;
11- import type { PrintableNode } from './types.d.ts' ;
1211
1312export class AssemblyStatement extends SlangNode {
1413 readonly kind = NonterminalKind . AssemblyStatement ;
@@ -19,20 +18,16 @@ export class AssemblyStatement extends SlangNode {
1918
2019 body : YulBlock ;
2120
22- constructor (
23- ast : ast . AssemblyStatement ,
24- collected : CollectedMetadata ,
25- options : ParserOptions < PrintableNode >
26- ) {
21+ constructor ( ast : ast . AssemblyStatement , collected : CollectedMetadata ) {
2722 super ( ast , collected ) ;
2823
2924 if ( ast . label ) {
30- this . label = new StringLiteral ( ast . label , collected , options ) ;
25+ this . label = new StringLiteral ( ast . label , collected ) ;
3126 }
3227 if ( ast . flags ) {
33- this . flags = new AssemblyFlagsDeclaration ( ast . flags , collected , options ) ;
28+ this . flags = new AssemblyFlagsDeclaration ( ast . flags , collected ) ;
3429 }
35- this . body = new YulBlock ( ast . body , collected , options ) ;
30+ this . body = new YulBlock ( ast . body , collected ) ;
3631
3732 this . updateMetadata ( this . label , this . flags , this . body ) ;
3833 }
0 commit comments