Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
step::parser::by_kind Struct Reference

Type access provider for token (enum) based symbols. More...

#include <step.tab.hxx>

Inheritance diagram for step::parser::by_kind:
Inheritance graph
[legend]

Public Types

typedef token_kind_type kind_type
 The symbol kind as needed by the constructor.
 

Public Member Functions

 by_kind ()
 Default constructor.
 
 by_kind (const by_kind &that)
 Copy constructor.
 
 by_kind (kind_type t)
 Constructor from (external) token numbers.
 
void clear ()
 Record that this symbol is empty.
 
void move (by_kind &that)
 Steal the symbol kind from that.
 
symbol_kind_type kind () const YY_NOEXCEPT
 The (internal) type number (corresponding to type). empty when empty.
 
symbol_kind_type type_get () const YY_NOEXCEPT
 Backward compatibility (Bison 3.6).
 

Data Fields

symbol_kind_type kind_
 The symbol kind. S_YYEMPTY when empty.
 

Detailed Description

Type access provider for token (enum) based symbols.

Member Typedef Documentation

◆ kind_type

The symbol kind as needed by the constructor.

Constructor & Destructor Documentation

◆ by_kind() [1/3]

step::parser::by_kind::by_kind ( )

Default constructor.

◆ by_kind() [2/3]

step::parser::by_kind::by_kind ( const by_kind & that)

Copy constructor.

◆ by_kind() [3/3]

step::parser::by_kind::by_kind ( kind_type t)

Constructor from (external) token numbers.

Member Function Documentation

◆ clear()

void step::parser::by_kind::clear ( )

Record that this symbol is empty.

◆ kind()

symbol_kind_type step::parser::by_kind::kind ( ) const

The (internal) type number (corresponding to type). empty when empty.

◆ move()

void step::parser::by_kind::move ( by_kind & that)

Steal the symbol kind from that.

◆ type_get()

symbol_kind_type step::parser::by_kind::type_get ( ) const

Backward compatibility (Bison 3.6).

Field Documentation

◆ kind_

symbol_kind_type step::parser::by_kind::kind_

The symbol kind. S_YYEMPTY when empty.


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