import type { TargetASTNodeCodeGenerator } from "../../../target-presets"; import type { ExpressionSemantics } from "./expression-semantics"; import type { ExpressionTypeSemantics } from "./expression-type-semantics"; import type { TranslatedExpression } from "../../../const"; import { CompilableASTNode } from "../../compilable-ast-node"; import type { ASTExpressionKind, ASTExpressionRuleName, ParserExpressionContext } from "../../common"; export declare abstract class Expression extends CompilableASTNode { protected constructor(antlrRuleCtx: ParserExpressionContext, parent: CompilableASTNode); protected _children: Array; get children(): Array; abstract get kind(): ASTExpressionKind; abstract get ruleName(): ASTExpressionRuleName; get antlrRuleCtx(): ParserExpressionContext; addNewChild(newChild: Children): void; abstract checkForWarnings?(): Promise; semanticAnalysis(): Promise; semanticTypeChecking(): Promise; wrapUpSemanticAnalysis(): Promise; translateCtxAndChildren(): Promise; protected readonly _antlrRuleCtx: ParserExpressionContext; abstract targetCodeGenerator: TargetASTNodeCodeGenerator; }