Vcsn  2.3
Be Rational
parse.hh File Reference

Define the vcsn::rat::parser class. More...

#include <iostream>
#include <tuple>
#include "location.hh"
#include <vcsn/core/rat/expression.hh>
#include <vcsn/dyn/value.hh>
#include <lib/vcsn/rat/fwd.hh>
#include <cstdlib>
#include <stdexcept>
#include <string>
#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::rat::braced_expression
 An expression that "remembers" whether it was in parentheses. More...
 
struct  vcsn::rat::variant< S >
 A char[S] buffer to store and retrieve objects. More...
 
class  vcsn::rat::parser
 A Bison parser. More...
 
union  vcsn::rat::parser::union_type
 An auxiliary type to compute the largest semantic type. More...
 
struct  vcsn::rat::parser::syntax_error
 Syntax errors thrown from user actions. More...
 
struct  vcsn::rat::parser::token
 Tokens. More...
 
struct  vcsn::rat::parser::basic_symbol< Base >
 A complete symbol. More...
 
struct  vcsn::rat::parser::by_type
 Type access provider for token (enum) based symbols. More...
 
struct  vcsn::rat::parser::by_state
 Type access provider for state based symbols. More...
 
struct  vcsn::rat::parser::stack_symbol_type
 "Internal" symbol: element of the stack. More...
 

Namespaces

 vcsn
 
 vcsn::rat
 

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::rat::irange_type = std::tuple< int, int >
 An integer range, for quantifiers/exponents. More...
 

Detailed Description

Define the vcsn::rat::parser class.

Definition in file parse.hh.

Macro Definition Documentation

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 122 of file parse.hh.

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 105 of file parse.hh.

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 110 of file parse.hh.

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 114 of file parse.hh.

#define YY_DECL   YY_DECL_(yyFlexLexer::)

Definition at line 1405 of file parse.hh.

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

Definition at line 1403 of file parse.hh.

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 145 of file parse.hh.

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 146 of file parse.hh.

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 142 of file parse.hh.

#define YYASSERT   assert

Definition at line 95 of file parse.hh.

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

#define YYDEBUG   1

Definition at line 154 of file parse.hh.

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

Definition at line 128 of file parse.hh.