C# Class Microsoft.DocAsCode.MarkdownLite.MarkdownParsingContext

Inheritance: IMarkdownParsingContext
Show file Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Consume ( int charCount ) : SourceInfo
MarkdownParsingContext ( SourceInfo sourceInfo ) : System.Collections.Generic
ToSourceInfo ( ) : SourceInfo

Private Methods

Method Description
CalcLineNumber ( ) : int
CreateLineIndexer ( string markdown ) : List

Method Details

Consume() public method

public Consume ( int charCount ) : SourceInfo
charCount int
return SourceInfo

MarkdownParsingContext() public method

public MarkdownParsingContext ( SourceInfo sourceInfo ) : System.Collections.Generic
sourceInfo SourceInfo
return System.Collections.Generic

ToSourceInfo() public method

public ToSourceInfo ( ) : SourceInfo
return SourceInfo