@@ -5,9 +5,8 @@ import { AssemblyFlagsDeclaration } from './AssemblyFlagsDeclaration.js';
55import { YulBlock } from './YulBlock.js' ;
66
77import type * as ast from '@nomicfoundation/slang/ast' ;
8- import type { Doc , ParserOptions } from 'prettier' ;
8+ import type { Doc } from 'prettier' ;
99import type { CollectedMetadata , PrintFunction } from '../types.d.ts' ;
10- import type { PrintableNode } from './types.d.ts' ;
1110
1211export class AssemblyStatement extends SlangNode {
1312 readonly kind = NonterminalKind . AssemblyStatement ;
@@ -18,20 +17,16 @@ export class AssemblyStatement extends SlangNode {
1817
1918 body : YulBlock ;
2019
21- constructor (
22- ast : ast . AssemblyStatement ,
23- collected : CollectedMetadata ,
24- options : ParserOptions < PrintableNode >
25- ) {
20+ constructor ( ast : ast . AssemblyStatement , collected : CollectedMetadata ) {
2621 super ( ast , collected ) ;
2722
2823 if ( ast . label ) {
29- this . label = new StringLiteral ( ast . label , collected , options ) ;
24+ this . label = new StringLiteral ( ast . label , collected ) ;
3025 }
3126 if ( ast . flags ) {
32- this . flags = new AssemblyFlagsDeclaration ( ast . flags , collected , options ) ;
27+ this . flags = new AssemblyFlagsDeclaration ( ast . flags , collected ) ;
3328 }
34- this . body = new YulBlock ( ast . body , collected , options ) ;
29+ this . body = new YulBlock ( ast . body , collected ) ;
3530
3631 this . updateMetadata ( this . label , this . flags , this . body ) ;
3732 }
0 commit comments