import Token from "../Token"; import ASTNode from "./ASTNode"; import ASTVisitor from "./ASTVisitor"; import { Statement } from "./statements"; /** * The root node of any AST tree. * * Contains top-level statements including the use statements. * * @category AST */ export default class ScadFile extends ASTNode { statements: Statement[]; tokens: { eot: Token; }; constructor(statements: Statement[], tokens: { eot: Token; }); accept(visitor: ASTVisitor): R; }