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

#include "ada-exp.h"

Inheritance diagram for expr::ada_choices_component:
expr::ada_component

Public Member Functions

 ada_choices_component (operation_up &&op)
 
void set_associations (std::vector< ada_association_up > &&assoc)
 
void assign (struct value *container, struct value *lhs, struct expression *exp, std::vector< LONGEST > &indices, LONGEST low, LONGEST high) override
 
bool uses_objfile (struct objfile *objfile) override
 
void dump (ui_file *stream, int depth) override
 
- Public Member Functions inherited from expr::ada_component
virtual ~ada_component ()=default
 

Private Attributes

std::vector< ada_association_upm_assocs
 
operation_up m_op
 

Additional Inherited Members

- Protected Member Functions inherited from expr::ada_component
 ada_component ()=default
 
 DISABLE_COPY_AND_ASSIGN (ada_component)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ada_choices_component()

expr::ada_choices_component::ada_choices_component ( operation_up && op)
inlineexplicit

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

Member Function Documentation

◆ assign()

void expr::ada_choices_component::assign ( struct value * container,
struct value * lhs,
struct expression * exp,
std::vector< LONGEST > & indices,
LONGEST low,
LONGEST high )
overridevirtual

Implements expr::ada_component.

Definition at line 9655 of file ada-lang.c.

References m_assocs, and m_op.

◆ dump()

void expr::ada_choices_component::dump ( ui_file * stream,
int depth )
overridevirtual

Implements expr::ada_component.

Definition at line 9642 of file ada-lang.c.

References gdb_printf(), m_assocs, and m_op.

◆ set_associations()

void expr::ada_choices_component::set_associations ( std::vector< ada_association_up > && assoc)
inline

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

References m_assocs.

Referenced by yyparse().

◆ uses_objfile()

bool expr::ada_choices_component::uses_objfile ( struct objfile * objfile)
overridevirtual

Implements expr::ada_component.

Definition at line 9631 of file ada-lang.c.

References m_assocs, and m_op.

Member Data Documentation

◆ m_assocs

std::vector<ada_association_up> expr::ada_choices_component::m_assocs
private

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

Referenced by assign(), dump(), set_associations(), and uses_objfile().

◆ m_op

operation_up expr::ada_choices_component::m_op
private

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

Referenced by assign(), dump(), and uses_objfile().


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