src
Classes | Namespaces | Macros | Enumerations | Functions
opt.h File Reference
#include "src/util/c99_stdint.h"
#include <stddef.h>
#include <string>
#include "src/codegen/input_api.h"
#include "src/ir/dfa/dfa.h"
#include "src/ir/regexp/empty_class_policy.h"
#include "src/ir/regexp/encoding/enc.h"
#include "src/util/forbid_copy.h"
Include dependency graph for opt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  re2c::opt_t
 
class  re2c::realopt_t
 
class  re2c::useropt_t
 
struct  re2c::Opt
 

Namespaces

 re2c
 

Macros

#define RE2C_OPTS
 
#define OPT1   OPT
 
#define OPT(type, name, value)   type name;
 
#define OPT1   OPT
 
#define OPT(type, name, value)   void set_##name (type arg) { useropt->name = arg; }
 

Enumerations

enum  re2c::parse_opts_t { re2c::OK, re2c::EXIT_OK, re2c::EXIT_FAIL }
 

Functions

parse_opts_t re2c::parse_opts (char **argv, Opt &opts)
 

Macro Definition Documentation

#define OPT (   type,
  name,
  value 
)    type name;

Definition at line 187 of file opt.h.

#define OPT (   type,
  name,
  value 
)    void set_##name (type arg) { useropt->name = arg; }

Definition at line 187 of file opt.h.

#define OPT1   OPT

Definition at line 186 of file opt.h.

#define OPT1   OPT

Definition at line 186 of file opt.h.

#define RE2C_OPTS

Definition at line 17 of file opt.h.