Vcsn  2.4
Be Rational
parse.hh File Reference

Define the vcsn::detail::dot::parser class. More...

#include <iostream>
#include <string>
#include <vcsn/misc/symbol.hh>
#include <lib/vcsn/rat/location.hh>
#include <lib/vcsn/dot/driver.hh>
#include <cstdlib>
#include <stdexcept>
#include <vector>
#include "stack.hh"
#include <cassert>
Include dependency graph for parse.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vcsn::detail::dot::paths_t
 
struct  vcsn::detail::dot::variant< S >
 A char[S] buffer to store and retrieve objects. More...
 
class  vcsn::detail::dot::parser
 A Bison parser. More...
 
union  vcsn::detail::dot::parser::union_type
 An auxiliary type to compute the largest semantic type. More...
 
struct  vcsn::detail::dot::parser::syntax_error
 Syntax errors thrown from user actions. More...
 
struct  vcsn::detail::dot::parser::token
 Tokens. More...
 
struct  vcsn::detail::dot::parser::basic_symbol< Base >
 A complete symbol. More...
 
struct  vcsn::detail::dot::parser::by_type
 Type access provider for token (enum) based symbols. More...
 
struct  vcsn::detail::dot::parser::by_state
 Type access provider for state based symbols. More...
 
struct  vcsn::detail::dot::parser::stack_symbol_type
 "Internal" symbol: element of the stack. More...
 

Namespaces

 vcsn
 
 vcsn::detail
 
 vcsn::detail::dot
 Implementation details of the dot parser.
 

Macros

#define YYASSERT   assert
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YYDEBUG   1
 
#define YY_DECL_(Class)   parser::symbol_type Class lex(driver& driver_)
 
#define YY_DECL   YY_DECL_(yyFlexLexer::)
 

Typedefs

using vcsn::detail::dot::string_t = symbol
 
using vcsn::detail::dot::states_t = std::vector< string_t >
 
using vcsn::detail::dot::transitions_t = std::vector< std::pair< string_t, string_t >>
 

Detailed Description

Define the vcsn::detail::dot::parser class.

Definition in file parse.hh.

Macro Definition Documentation

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 128 of file parse.hh.

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 111 of file parse.hh.

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 116 of file parse.hh.

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 120 of file parse.hh.

#define YY_DECL   YY_DECL_(yyFlexLexer::)

Definition at line 1199 of file parse.hh.

#define YY_DECL_ (   Class)    parser::symbol_type Class lex(driver& driver_)

Definition at line 1197 of file parse.hh.

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 151 of file parse.hh.

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 152 of file parse.hh.

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 148 of file parse.hh.

#define YYASSERT   assert

Definition at line 101 of file parse.hh.

Referenced by vcsn::detail::dot::variant< sizeof(union_type)>::variant().

#define YYDEBUG   1

Definition at line 160 of file parse.hh.

#define YYUSE (   E)    ((void) (E))

Definition at line 134 of file parse.hh.