Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

ParseCache Class Reference
[Parsers]


Detailed Description

Internal parser's cache storage.

Each object instance stores parse information about single level of Scheme objects. The object always takes more, than a single line, because single-line scheme match doesn't need to be cached.


Public Member Functions

ParseCachesearchLine (int ln, ParseCache **cache)
 Searched a cache position for the specified line number.

Data Fields

int sline
 Start and end lines of this scheme match.
int eline
SchemeImplscheme
 Scheme, matched for this cache entry.
const SchemeNodeclender
 Particular parent block object, caused this scheme to be instantiated.
VirtualEntryVector ** vcache
 Scheme virtualization cache entry.
SMatches matchstart
 RE Match object for start RE of the enwrapped <block> object.
SStringbackLine
 Copy of the line with parent's start RE.
ParseCachechildren
 Tree structure references in parse cache.
ParseCachenext
ParseCacheparent


Member Function Documentation

ParseCache * ParseCache::searchLine int  ln,
ParseCache **  cache
 

Searched a cache position for the specified line number.

Parameters:
ln Line number to search for
cache Cache entry, filled with last child cache entry.
Returns:
Cache entry, assigned to the specified line number


Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.
Generated at Fri Nov 24 17:13:13 2006 by doxygen 1.4.6.