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 Methods

ParseCache * searchLine (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
 Start and end lines of this scheme match.

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.

ParseCache * children
 Tree structure references in parse cache.

ParseCache * next
 Tree structure references in parse cache.

ParseCache * parent
 Tree structure references in parse cache.


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-2005 Cail Lomecb.
Generated at Fri Apr 29 02:50:05 2005 by doxygen 1.3-rc2.