import type { TranslatedCodeLine } from "../const"; import type { KipperCompileTarget, KipperTargetCodeGenerator, KipperTargetSemanticAnalyser, TargetASTNodeCodeGenerator } from "../target-presets"; import type { KipperParser, KipperParserRuleContext } from "../lexer-parser"; import type { TypeData } from "./ast-node"; import type { TokenStream } from "antlr4ts/TokenStream"; import type { RootASTNode, SemanticData } from "./index"; import type { ClassScope, GlobalScope, LocalScope } from "../semantics"; import type { ScopeNode } from "./scope-node"; import type { TargetCompilableNode } from "./target-node"; import { AnalysableASTNode } from "./analysable-ast-node"; export type CompilableNodeParent = CompilableASTNode | RootASTNode; export type CompilableNodeChild = CompilableASTNode; export declare abstract class CompilableASTNode extends AnalysableASTNode implements TargetCompilableNode { abstract readonly targetCodeGenerator: TargetASTNodeCodeGenerator>; protected constructor(antlrCtx: KipperParserRuleContext, parent: CompilableNodeParent); protected _parent: CompilableNodeParent; get parent(): CompilableNodeParent; protected _children: Array; get children(): Array; get parser(): KipperParser; get tokenStream(): TokenStream; get target(): KipperCompileTarget; get codeGenerator(): KipperTargetCodeGenerator; get scope(): LocalScope | ClassScope | GlobalScope; get scopeCtx(): ScopeNode; get semanticAnalyser(): KipperTargetSemanticAnalyser; addNewChild(newChild: CompilableNodeChild): void; hasSideEffects(): boolean; translateCtxAndChildren(): Promise>; }