src
Public Member Functions | List of all members
re2c::realopt_t Class Reference

#include <opt.h>

Public Member Functions

 realopt_t (useropt_t &opt)
 
const opt_toperator-> ()
 
void sync ()
 

Detailed Description

Definition at line 129 of file opt.h.

Constructor & Destructor Documentation

re2c::realopt_t::realopt_t ( useropt_t opt)

Definition at line 232 of file opt.cc.

233  : real ()
234  , user (opt)
235 {}

Member Function Documentation

const opt_t * re2c::realopt_t::operator-> ( )

Definition at line 237 of file opt.cc.

238 {
239  sync ();
240  return &real;
241 }
void sync()
Definition: opt.cc:243

Here is the call graph for this function:

void re2c::realopt_t::sync ( )

Definition at line 243 of file opt.cc.

244 {
245  if (user.diverge)
246  {
247  real = user.opt;
248  real.fix ();
249  user.diverge = false;
250  }
251 }
void fix()
Definition: opt.cc:35

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: