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