spot 2.14.5
Loading...
Searching...
No Matches
hoayy::parser::symbol_type Struct Reference

"External" symbols: returned by the scanner. More...

#include <spot/parseaut/parseaut.hh>

Inheritance diagram for hoayy::parser::symbol_type:
Collaboration diagram for hoayy::parser::symbol_type:

Public Types

typedef by_kind super_type
 Alias to Base.
typedef token_kind_type kind_type
 The symbol kind as needed by the constructor.

Public Member Functions

void clear ()
 Destroy contents, and record that is empty.
std::string name () const
 The user-facing name of this symbol.
symbol_kind_type type_get () const
 Backward compatibility (Bison 3.6).
bool empty () const
 Whether empty.
void move (basic_symbol &s)
 Destructive move, s is emptied into this.
void move (by_kind &that)
 Steal the symbol kind from that.
symbol_kind_type kind () const

Public Attributes

value_type value
 The semantic value.
location_type location
 The location.
symbol_kind_type kind_

Detailed Description

"External" symbols: returned by the scanner.

Member Typedef Documentation

◆ kind_type

typedef token_kind_type hoayy::parser::by_kind::kind_type
inherited

The symbol kind as needed by the constructor.

◆ super_type

typedef by_kind hoayy::parser::basic_symbol< by_kind >::super_type
inherited

Alias to Base.

Member Function Documentation

◆ clear()

void hoayy::parser::basic_symbol< by_kind >::clear ( )
inlineinherited

Destroy contents, and record that is empty.

◆ empty()

bool hoayy::parser::basic_symbol< by_kind >::empty ( ) const
inherited

Whether empty.

◆ kind()

symbol_kind_type hoayy::parser::by_kind::kind ( ) const
inherited

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

References kind().

Referenced by kind().

◆ move() [1/2]

void hoayy::parser::basic_symbol< by_kind >::move ( basic_symbol< by_kind > & s)
inherited

Destructive move, s is emptied into this.

◆ move() [2/2]

void hoayy::parser::by_kind::move ( by_kind & that)
inherited

Steal the symbol kind from that.

References by_kind(), and move().

Referenced by move().

◆ name()

std::string hoayy::parser::basic_symbol< by_kind >::name ( ) const
inlineinherited

The user-facing name of this symbol.

◆ type_get()

symbol_kind_type hoayy::parser::basic_symbol< by_kind >::type_get ( ) const
inherited

Backward compatibility (Bison 3.6).

Member Data Documentation

◆ kind_

symbol_kind_type hoayy::parser::by_kind::kind_
inherited

The symbol kind. S_YYEMPTY when empty.

◆ location

The location.

◆ value

The semantic value.


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

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on for spot by doxygen 1.15.0