import { ArithmeticType } 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 { UnaryMinusExpressionASTNode } from "../../../ast/ast_expressions"; import { SimpleRuntimeExpression } from "./SimpleRuntimeExpression"; import { UnaryOperatorExpression } from "./UnaryOperatorExpression"; export declare class UnaryMinusExpression extends UnaryOperatorExpression { readonly construct_type = "unary_minus_expression"; readonly type?: ArithmeticType; readonly valueCategory = "prvalue"; readonly operand: Expression; readonly operator = "-"; constructor(context: ExpressionContext, ast: UnaryMinusExpressionASTNode, operand: Expression); static createFromAST(ast: UnaryMinusExpressionASTNode, context: ExpressionContext): UnaryMinusExpression; describeEvalResult(depth: number): ConstructDescription; } export interface TypedUnaryMinusExpression extends UnaryMinusExpression, t_TypedExpression { readonly type: T; readonly operand: TypedExpression; } export interface CompiledUnaryMinusExpression extends TypedUnaryMinusExpression, SuccessfullyCompiled { readonly temporaryDeallocator?: CompiledTemporaryDeallocator; readonly operand: CompiledExpression; } export declare class RuntimeUnaryMinusExpression extends SimpleRuntimeExpression> { operand: RuntimeExpression; constructor(model: CompiledUnaryMinusExpression, parent: RuntimeConstruct); protected operate(): void; }