GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
expr::ada_assign_operation Class Reference

#include "ada-exp.h"

Inheritance diagram for expr::ada_assign_operation:
expr::assign_operation expr::tuple_holding_operation< operation_up, operation_up > expr::operation

Public Member Functions

valueevaluate (struct type *expect_type, struct expression *exp, enum noside noside) override
 
enum exp_opcode opcode () const override
 
valuecurrent ()
 
valueeval_for_resolution (struct expression *exp)
 
void set_rhs (operation_up rhs)
 
- Public Member Functions inherited from expr::assign_operation
valueevaluate (struct type *expect_type, struct expression *exp, enum noside noside) override
 
enum exp_opcode opcode () const override
 
operationget_lhs () const
 
 tuple_holding_operation (Arg... args)
 
- Public Member Functions inherited from expr::tuple_holding_operation< operation_up, operation_up >
 tuple_holding_operation (Arg... args)
 
 DISABLE_COPY_AND_ASSIGN (tuple_holding_operation)
 
bool uses_objfile (struct objfile *objfile) const override
 
void dump (struct ui_file *stream, int depth) const override
 
- Public Member Functions inherited from expr::operation
virtual ~operation ()=default
 
virtual valueevaluate_with_coercion (struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_sizeof (struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_address (struct expression *exp, enum noside noside)
 
virtual valueevaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args)
 
virtual bool constant_p () const
 
void generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type=nullptr)
 
virtual void set_outermost ()
 

Private Attributes

valuem_current = nullptr
 

Additional Inherited Members

- Protected Member Functions inherited from expr::assign_operation
void do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type) override
 
- Protected Member Functions inherited from expr::operation
 operation ()=default
 
 DISABLE_COPY_AND_ASSIGN (operation)
 
valueevaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const char *function_name, const std::vector< operation_up > &args)
 
- Protected Attributes inherited from expr::tuple_holding_operation< operation_up, operation_up >
std::tuple< Arg... > m_storage
 

Detailed Description

Definition at line 543 of file ada-exp.h.

Member Function Documentation

◆ current()

value * expr::ada_assign_operation::current ( )
inline

Definition at line 557 of file ada-exp.h.

References m_current.

Referenced by expr::ada_target_operation::evaluate().

◆ eval_for_resolution()

value * expr::ada_assign_operation::eval_for_resolution ( struct expression * exp)
inline

◆ evaluate()

struct value * expr::ada_assign_operation::evaluate ( struct type * expect_type,
struct expression * exp,
enum noside noside  )
overridevirtual

◆ opcode()

enum exp_opcode expr::ada_assign_operation::opcode ( ) const
inlineoverridevirtual

Implements expr::operation.

Definition at line 554 of file ada-exp.h.

◆ set_rhs()

void expr::ada_assign_operation::set_rhs ( operation_up rhs)
inline

Member Data Documentation

◆ m_current

value* expr::ada_assign_operation::m_current = nullptr
private

Definition at line 579 of file ada-exp.h.

Referenced by current(), and evaluate().


The documentation for this class was generated from the following files: