C# 클래스 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.
파일 보기 프로젝트 열기: Trass3r/AsmHighlighter 1 사용 예제들

공개 메소드들

메소드 설명
ConvertToFasm ( Scanner lexer, string codeToFormat, string>.Dictionary defines ) : string
ParseDefineLine ( string line ) : string>.Dictionary
ReformatCode ( IVsTextLines pBuffer, TextSpan span, int tabSize ) : List

비공개 메소드들

메소드 설명
AsmHighlighterFormatHelper ( ) : System

메소드 상세

ConvertToFasm() 공개 정적인 메소드

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

ParseDefineLine() 공개 정적인 메소드

public static ParseDefineLine ( string line ) : string>.Dictionary
line string
리턴 string>.Dictionary

ReformatCode() 공개 정적인 메소드

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