spot  2.11.6
Public Types | Public Member Functions | Public Attributes | List of all members
tlyy::parser::by_kind Struct Reference

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

#include <spot/parsetl/parsetl.hh>

Collaboration diagram for tlyy::parser::by_kind:

Public Types

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

Public Member Functions

 by_kind ()
 Default constructor. More...
 
 by_kind (const by_kind &that)
 Copy constructor. More...
 
 by_kind (kind_type t)
 Constructor from (external) token numbers. More...
 
void clear ()
 Record that this symbol is empty. More...
 
void move (by_kind &that)
 Steal the symbol kind from that. More...
 
symbol_kind_type kind () const
 
symbol_kind_type type_get () const
 Backward compatibility (Bison 3.6). More...
 

Public Attributes

symbol_kind_type kind_
 

Detailed Description

Type access provider for token (enum) based symbols.

Member Typedef Documentation

◆ kind_type

typedef token_kind_type tlyy::parser::by_kind::kind_type

The symbol kind as needed by the constructor.

Constructor & Destructor Documentation

◆ by_kind() [1/3]

tlyy::parser::by_kind::by_kind ( )

Default constructor.

◆ by_kind() [2/3]

tlyy::parser::by_kind::by_kind ( const by_kind that)

Copy constructor.

◆ by_kind() [3/3]

tlyy::parser::by_kind::by_kind ( kind_type  t)

Constructor from (external) token numbers.

Member Function Documentation

◆ clear()

void tlyy::parser::by_kind::clear ( )

Record that this symbol is empty.

◆ kind()

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

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

◆ move()

void tlyy::parser::by_kind::move ( by_kind that)

Steal the symbol kind from that.

◆ type_get()

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

Backward compatibility (Bison 3.6).

Member Data Documentation

◆ kind_

symbol_kind_type tlyy::parser::by_kind::kind_

The symbol kind. S_YYEMPTY when empty.


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