import { ArithmeticType, PointerToCompleteType as PointerToCompleteObjectType } from "../../compilation/types"; import { ExpressionContext, ConstructDescription, SemanticContext } from "../../compilation/contexts"; import { SuccessfullyCompiled, RuntimeConstruct } from "../CPPConstruct"; import { Expression, CompiledExpression, TypedExpression, t_TypedExpression } from "./Expression"; import { RuntimeExpression } from "./RuntimeExpression"; import { AnalyticConstruct } from "../../../analysis/predicates"; import { CompiledTemporaryDeallocator } from "../TemporaryDeallocator"; import { PrefixIncrementExpressionASTNode } from "../../../ast/ast_expressions"; import { SimpleRuntimeExpression } from "./SimpleRuntimeExpression"; import { UnaryOperatorExpression } from "./UnaryOperatorExpression"; export declare class PrefixIncrementExpression extends UnaryOperatorExpression { readonly construct_type = "prefix_increment_expression"; readonly type?: ArithmeticType | PointerToCompleteObjectType; readonly valueCategory = "lvalue"; readonly operand: Expression; readonly operator: "++" | "--"; constructor(context: ExpressionContext, ast: PrefixIncrementExpressionASTNode, operand: Expression); static createFromAST(ast: PrefixIncrementExpressionASTNode, context: ExpressionContext): PrefixIncrementExpression; describeEvalResult(depth: number): ConstructDescription; isSemanticallyEquivalent_impl(other: AnalyticConstruct, ec: SemanticContext): boolean; } export interface TypedPrefixIncrementExpression extends PrefixIncrementExpression, t_TypedExpression { readonly type: T; readonly operand: TypedExpression; } export interface CompiledPrefixIncrementExpression extends TypedPrefixIncrementExpression, SuccessfullyCompiled { readonly temporaryDeallocator?: CompiledTemporaryDeallocator; readonly operand: CompiledExpression; } export declare class RuntimePrefixIncrementExpression extends SimpleRuntimeExpression> { operand: RuntimeExpression; constructor(model: CompiledPrefixIncrementExpression, parent: RuntimeConstruct); protected operate(): void; }