import { PointerType } from "../../compilation/types"; import { ExpressionContext, ConstructDescription } from "../../compilation/contexts"; import { SuccessfullyCompiled, RuntimeConstruct } from "../CPPConstruct"; import { Expression, CompiledExpression, TypedExpression, t_TypedExpression } from "./Expression"; import { RuntimeExpression } from "./RuntimeExpression"; import { CompiledTemporaryDeallocator } from "../TemporaryDeallocator"; import { AddressOfExpressionASTNode } from "../../../ast/ast_expressions"; import { SimpleRuntimeExpression } from "./SimpleRuntimeExpression"; import { UnaryOperatorExpression } from "./UnaryOperatorExpression"; export declare class AddressOfExpression extends UnaryOperatorExpression { readonly construct_type = "address_of_expression"; readonly type?: PointerType; readonly valueCategory = "prvalue"; readonly operand: Expression; readonly operator = "&"; constructor(context: ExpressionContext, ast: AddressOfExpressionASTNode, operand: Expression); static createFromAST(ast: AddressOfExpressionASTNode, context: ExpressionContext): AddressOfExpression; describeEvalResult(depth: number): ConstructDescription; } export interface TypedAddressOfExpression extends AddressOfExpression, t_TypedExpression { readonly type: T; readonly operand: TypedExpression; } export interface CompiledAddressOfExpression extends TypedAddressOfExpression, SuccessfullyCompiled { readonly temporaryDeallocator?: CompiledTemporaryDeallocator; readonly operand: CompiledExpression; } export declare class RuntimeAddressOfExpression extends SimpleRuntimeExpression> { operand: RuntimeExpression; constructor(model: CompiledAddressOfExpression, parent: RuntimeConstruct); protected operate(): void; }