GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
type_stack Struct Reference

#include "type-stack.h"

Public Member Functions

 type_stack ()=default
 
 DISABLE_COPY_AND_ASSIGN (type_stack)
 
type_stackcreate ()
 
void insert (enum type_pieces tp)
 
void push (enum type_pieces tp)
 
void push (int n)
 
void push (struct type_stack *stack)
 
void push (std::vector< struct type * > *list)
 
enum type_pieces pop ()
 
int pop_int ()
 
std::vector< struct type * > * pop_typelist ()
 
struct type_stackpop_type_stack ()
 
void insert (struct expr_builder *pstate, const char *string)
 
struct type_stackappend (struct type_stack *from)
 
type_instance_flags follow_type_instance_flags ()
 
struct typefollow_types (struct type *follow_type)
 

Private Member Functions

void insert_into (int slot, union type_stack_elt element)
 

Private Attributes

std::vector< union type_stack_eltm_elements
 

Detailed Description

Definition at line 60 of file type-stack.h.

Constructor & Destructor Documentation

◆ type_stack()

type_stack::type_stack ( )
default

Referenced by create().

Member Function Documentation

◆ append()

struct type_stack * type_stack::append ( struct type_stack * from)
inline

Definition at line 171 of file type-stack.h.

References insert(), and m_elements.

◆ create()

type_stack * type_stack::create ( )
inline

Definition at line 68 of file type-stack.h.

References m_elements, and type_stack().

Referenced by yyparse().

◆ DISABLE_COPY_AND_ASSIGN()

type_stack::DISABLE_COPY_AND_ASSIGN ( type_stack )

◆ follow_type_instance_flags()

type_instance_flags type_stack::follow_type_instance_flags ( )

◆ follow_types()

struct type * type_stack::follow_types ( struct type * follow_type)

◆ insert() [1/2]

void type_stack::insert ( enum type_pieces tp)

◆ insert() [2/2]

void type_stack::insert ( struct expr_builder * pstate,
const char * string )

◆ insert_into()

void type_stack::insert_into ( int slot,
union type_stack_elt element )
inlineprivate

Definition at line 195 of file type-stack.h.

References m_elements.

Referenced by insert(), and insert().

◆ pop()

enum type_pieces type_stack::pop ( )
inline

Definition at line 119 of file type-stack.h.

References m_elements, type_stack_elt::piece, and tp_end.

Referenced by follow_type_instance_flags(), follow_types(), and yyparse().

◆ pop_int()

int type_stack::pop_int ( )
inline

Definition at line 128 of file type-stack.h.

References type_stack_elt::int_val, and m_elements.

Referenced by follow_types(), and yyparse().

◆ pop_type_stack()

struct type_stack * type_stack::pop_type_stack ( )
inline

Definition at line 150 of file type-stack.h.

References m_elements, and type_stack_elt::stack_val.

Referenced by follow_types().

◆ pop_typelist()

std::vector< struct type * > * type_stack::pop_typelist ( )
inline

Definition at line 140 of file type-stack.h.

References m_elements, and type_stack_elt::typelist_val.

Referenced by follow_types().

◆ push() [1/4]

void type_stack::push ( enum type_pieces tp)
inline

Definition at line 83 of file type-stack.h.

References m_elements, and type_stack_elt::piece.

Referenced by push(), push(), push_kind_type(), and yyparse().

◆ push() [2/4]

void type_stack::push ( int n)
inline

Definition at line 90 of file type-stack.h.

References type_stack_elt::int_val, and m_elements.

◆ push() [3/4]

void type_stack::push ( std::vector< struct type * > * list)
inline

◆ push() [4/4]

void type_stack::push ( struct type_stack * stack)
inline

Definition at line 99 of file type-stack.h.

References m_elements, push(), type_stack_elt::stack_val, and tp_type_stack.

Member Data Documentation

◆ m_elements

std::vector<union type_stack_elt> type_stack::m_elements
private

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