Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

_InternalFlexScannerBase::Config Struct Reference

Scanner base configuration. More...

#include <scannerbase.h>

Collaboration diagram for _InternalFlexScannerBase::Config:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Config ()
 Constructor sets up defaults.

 ~Config ()

Public Attributes

bool loc_use_lpos
int tab_width
 Tab with in number of characters for correct lpos.

int max_file_depth
 Max include recursion depth.

int ahead_toks_wanted
int old_toks_wanted

Detailed Description

Scanner base configuration.

Definition at line 107 of file scannerbase.h.


Constructor & Destructor Documentation

_InternalFlexScannerBase::Config::Config  ) 
 

Constructor sets up defaults.

Definition at line 38 of file iscannerbase.cc.

References ahead_toks_wanted, loc_use_lpos, max_file_depth, old_toks_wanted, and tab_width.

_InternalFlexScannerBase::Config::~Config  )  [inline]
 

Definition at line 129 of file scannerbase.h.


Member Data Documentation

int _InternalFlexScannerBase::Config::ahead_toks_wanted
 

Token look ahead cache size (token list size). Do not change at runtime. MINIMUM=1, NOT STATIC!

Definition at line 121 of file scannerbase.h.

Referenced by Config(), and _InternalFlexScannerBase::LexNextToken().

bool _InternalFlexScannerBase::Config::loc_use_lpos
 

Use lpos (position in line) in postition objects? (Using "no" here will decrease memory footprint.)

Definition at line 111 of file scannerbase.h.

Referenced by _InternalFlexScannerBase::_MakeCurrEndLoc(), _InternalFlexScannerBase::_MakeCurrLoc(), and Config().

int _InternalFlexScannerBase::Config::max_file_depth
 

Max include recursion depth.

Definition at line 117 of file scannerbase.h.

Referenced by Config(), and _InternalFlexScannerBase::SetInput().

int _InternalFlexScannerBase::Config::old_toks_wanted
 

Token look back cache size (token list size).
NOTE: A larger value of old_toks_wanted enables better re-use and keeps zombie_list smaller.

Definition at line 125 of file scannerbase.h.

Referenced by Config(), and _InternalFlexScannerBase::LexNextToken().

int _InternalFlexScannerBase::Config::tab_width
 

Tab with in number of characters for correct lpos.

Definition at line 114 of file scannerbase.h.

Referenced by _InternalFlexScannerBase::_pi_tab(), and Config().


The documentation for this struct was generated from the following files:
Generated on Sat Feb 19 22:35:16 2005 for Ray by doxygen 1.3.5