C# Class AsmHighlighter.AsmHighlighterFormatHelper

Alpha version for reformatting. After some test (more particularly with prepropressor directives), we definitely need a fully implemented lexical-parser in order to perform a correct reformatting.
Exibir arquivo Open project: Trass3r/AsmHighlighter Class Usage Examples

Public Methods

Method Description
ConvertToFasm ( Scanner lexer, string codeToFormat, string>.Dictionary defines ) : string
ParseDefineLine ( string line ) : string>.Dictionary
ReformatCode ( IVsTextLines pBuffer, TextSpan span, int tabSize ) : List

Private Methods

Method Description
AsmHighlighterFormatHelper ( ) : System

Method Details

ConvertToFasm() public static method

public static ConvertToFasm ( Scanner lexer, string codeToFormat, string>.Dictionary defines ) : string
lexer AsmHighlighter.Lexer.Scanner
codeToFormat string
defines string>.Dictionary
return string

ParseDefineLine() public static method

public static ParseDefineLine ( string line ) : string>.Dictionary
line string
return string>.Dictionary

ReformatCode() public static method

public static ReformatCode ( IVsTextLines pBuffer, TextSpan span, int tabSize ) : List
pBuffer IVsTextLines
span TextSpan
tabSize int
return List