C# Class CRLFAnalyzerNS.TermListType

Class to contain list of positions of line terminators
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Add ( TermListItem tli ) : void

Allows adding TermListItems to the TermList.

TermListType ( ) : System

Constructor.

this ( int index ) : TermListItem

Indexer for accessing this type.

Private Methods

Method Description
UpdateList ( int &Count, int &last, int &first, bool CROnly ) : void

This is really the core of the logic. Updates the jump list allowing for CROnlyNext entries. This method directly modifies the m_* static variables that store the counts and locations of the first and last jump entries.

Method Details

Add() public method

Allows adding TermListItems to the TermList.
public Add ( TermListItem tli ) : void
tli TermListItem
return void

TermListType() public method

Constructor.
public TermListType ( ) : System
return System

this() public method

Indexer for accessing this type.
public this ( int index ) : TermListItem
index int
return TermListItem