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

#include "ada-exp.h"

Inheritance diagram for expr::ada_positional_component:
expr::ada_component

Public Member Functions

 ada_positional_component (int index, operation_up &&op)
 
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

int m_index
 
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 706 of file ada-exp.h.

Constructor & Destructor Documentation

◆ ada_positional_component()

expr::ada_positional_component::ada_positional_component ( int index,
operation_up && op )
inline

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

Member Function Documentation

◆ assign()

void expr::ada_positional_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 9518 of file ada-lang.c.

References add_component_interval(), expr::assign_component(), m_index, and m_op.

◆ dump()

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

Implements expr::ada_component.

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

References gdb_printf(), m_index, and m_op.

◆ uses_objfile()

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

Implements expr::ada_component.

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

References m_op.

Member Data Documentation

◆ m_index

int expr::ada_positional_component::m_index
private

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

Referenced by assign(), and dump().

◆ m_op

operation_up expr::ada_positional_component::m_op
private

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

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


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