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

#include "ada-exp.h"

Inheritance diagram for expr::ada_structop_operation:
expr::structop_base_operation expr::tuple_holding_operation< operation_up, std::string > expr::operation

Public Member Functions

valueevaluate (struct type *expect_type, struct expression *exp, enum noside noside) override
 
enum exp_opcode opcode () const override
 
void set_prefix (std::string &&prefix)
 
bool complete (struct expression *exp, completion_tracker &tracker) override
 
void dump (struct ui_file *stream, int depth) const override
 
- Public Member Functions inherited from expr::structop_base_operation
const std::string & get_string () const
 
valueevaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) override
 
- Public Member Functions inherited from expr::tuple_holding_operation< operation_up, std::string >
 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 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

std::string m_prefix
 

Additional Inherited Members

- Protected Member Functions inherited from expr::structop_base_operation
bool complete (struct expression *exp, completion_tracker &tracker, const char *prefix)
 
 tuple_holding_operation (Arg... args)
 
- 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)
 
- Protected Attributes inherited from expr::tuple_holding_operation< operation_up, std::string >
std::tuple< Arg... > m_storage
 

Detailed Description

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

Member Function Documentation

◆ complete()

bool expr::ada_structop_operation::complete ( struct expression * exp,
completion_tracker & tracker )
inlineoverridevirtual

Reimplemented from expr::structop_base_operation.

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

References expr::structop_base_operation::complete(), and m_prefix.

◆ dump()

void expr::ada_structop_operation::dump ( struct ui_file * stream,
int depth ) const
inlineoverridevirtual

Implements expr::operation.

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

References expr::operation::dump(), expr::dump_for_expression(), and m_prefix.

◆ evaluate()

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

◆ opcode()

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

Implements expr::operation.

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

◆ set_prefix()

void expr::ada_structop_operation::set_prefix ( std::string && prefix)
inline

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

References m_prefix, and prefix.

Referenced by write_var_or_type_completion(), and yyparse().

Member Data Documentation

◆ m_prefix

std::string expr::ada_structop_operation::m_prefix
private

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

Referenced by complete(), dump(), and set_prefix().


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