import { AstNode , child } from './base' ; import { Statements } from './stmt' ; import { ModuleScope } from '~/analyzer' ; export class YaksokRoot extends AstNode { hash : unknown ; modules : { [ name ] : string ; } ; moduleScope : ModuleScope | null ; @ child statements : Statements ; constructor ( statements ) { super ( ) ; this . hash = null ; this . modules = { } ; this . moduleScope = null ; this . statements = statements ; } }