Aprepro 5.0x
Loading...
Searching...
No Matches
SEAMS::Parser::by_state Struct Reference

Type access provider for state based symbols. More...

Inheritance diagram for SEAMS::Parser::by_state:

Public Types

enum  { empty_state = 0 }
 
typedef state_type kind_type
 The symbol kind as needed by the constructor.
 

Public Member Functions

 by_state () YY_NOEXCEPT
 Default constructor.
 
 by_state (kind_type s) YY_NOEXCEPT
 Constructor.
 
 by_state (const by_state &that) YY_NOEXCEPT
 Copy constructor.
 
void clear () YY_NOEXCEPT
 Record that this symbol is empty.
 
void move (by_state &that)
 Steal the symbol kind from that.
 
symbol_kind_type kind () const YY_NOEXCEPT
 

Public Attributes

state_type state
 

Detailed Description

Type access provider for state based symbols.

Member Typedef Documentation

◆ kind_type

The symbol kind as needed by the constructor.

Member Enumeration Documentation

◆ anonymous enum

The state number used to denote an empty symbol. We use the initial state, as it does not have a value.

Enumerator
empty_state 

Constructor & Destructor Documentation

◆ by_state() [1/3]

SEAMS::Parser::by_state::by_state ( )

Default constructor.

◆ by_state() [2/3]

SEAMS::Parser::by_state::by_state ( kind_type s)

Constructor.

◆ by_state() [3/3]

SEAMS::Parser::by_state::by_state ( const by_state & that)

Copy constructor.

Member Function Documentation

◆ clear()

void SEAMS::Parser::by_state::clear ( )

Record that this symbol is empty.

◆ kind()

Parser::symbol_kind_type SEAMS::Parser::by_state::kind ( ) const

The symbol kind (corresponding to state). symbol_kind::S_YYEMPTY when empty.

◆ move()

void SEAMS::Parser::by_state::move ( by_state & that)

Steal the symbol kind from that.

Member Data Documentation

◆ state

state_type SEAMS::Parser::by_state::state

The state. empty when empty.


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