spot  2.8.7
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_type super_type
 Alias to Base. More...
 
typedef token_type kind_type
 The symbol type as needed by the constructor. More...
 

Public Member Functions

void clear ()
 Destroy contents, and record that is empty. More...
 
bool empty () const
 Whether empty. More...
 
void move (basic_symbol &s)
 Destructive move, s is emptied into this. More...
 
void move (by_type &that)
 Steal the symbol type from that. More...
 
symbol_number_type type_get () const
 
token_type token () const
 The token. More...
 

Public Attributes

semantic_type value
 The semantic value. More...
 
location_type location
 The location. More...
 
int type
 

Detailed Description

"External" symbols: returned by the scanner.

Member Typedef Documentation

◆ kind_type

typedef token_type hoayy::parser::by_type::kind_type
inherited

The symbol type as needed by the constructor.

◆ super_type

Alias to Base.

Member Function Documentation

◆ clear()

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

Destroy contents, and record that is empty.

◆ empty()

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

Whether empty.

◆ move() [1/2]

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

Destructive move, s is emptied into this.

◆ move() [2/2]

void hoayy::parser::by_type::move ( by_type that)
inherited

Steal the symbol type from that.

◆ token()

token_type hoayy::parser::by_type::token ( ) const
inherited

The token.

◆ type_get()

symbol_number_type hoayy::parser::by_type::type_get ( ) const
inherited

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

Member Data Documentation

◆ location

The location.

◆ type

int hoayy::parser::by_type::type
inherited

The symbol type. empty_symbol when empty. An int, not token_number_type, to be able to store empty_symbol.

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