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

#include "expop.h"

Inheritance diagram for expr::float_const_operation:
expr::operation

Public Member Functions

 float_const_operation (struct type *type, float_data data)
 
valueevaluate (struct type *expect_type, struct expression *exp, enum noside noside) override
 
enum exp_opcode opcode () const override
 
bool constant_p () 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 uses_objfile (struct objfile *objfile) 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

struct typem_type
 
float_data m_data
 

Additional Inherited Members

- 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)
 
virtual void do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type)
 

Detailed Description

Definition at line 563 of file expop.h.

Constructor & Destructor Documentation

◆ float_const_operation()

expr::float_const_operation::float_const_operation ( struct type * type,
float_data data )
inline

Definition at line 568 of file expop.h.

Member Function Documentation

◆ constant_p()

bool expr::float_const_operation::constant_p ( ) const
inlineoverridevirtual

Reimplemented from expr::operation.

Definition at line 584 of file expop.h.

◆ dump()

void expr::float_const_operation::dump ( struct ui_file * stream,
int depth ) const
overridevirtual

Implements expr::operation.

Definition at line 212 of file expprint.c.

References gdb_printf(), m_data, m_type, and print_floating().

◆ evaluate()

value * expr::float_const_operation::evaluate ( struct type * expect_type,
struct expression * exp,
enum noside noside  )
inlineoverridevirtual

Implements expr::operation.

Definition at line 574 of file expop.h.

References m_data, m_type, and value_from_contents().

◆ opcode()

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

Implements expr::operation.

Definition at line 581 of file expop.h.

Member Data Documentation

◆ m_data

float_data expr::float_const_operation::m_data
private

Definition at line 592 of file expop.h.

Referenced by dump(), and evaluate().

◆ m_type

struct type* expr::float_const_operation::m_type
private

Definition at line 591 of file expop.h.

Referenced by dump(), and evaluate().


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