spot  2.11.6
Public Types | Public Member Functions | Public Attributes | List of all members
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. More...
 
typedef token_kind_type kind_type
 The symbol kind as needed by the constructor. More...
 

Public Member Functions

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

Public Attributes

semantic_type value
 The semantic value. More...
 
location_type location
 The location. More...
 
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

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.

◆ 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.

◆ 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 Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1