C# 클래스 ShaderTools.Hlsl.Formatting.Formatter

파일 보기 프로젝트 열기: tgjones/HlslTools

공개 메소드들

메소드 설명
ApplyEdits ( string code, IList edits ) : string
GetEdits ( SyntaxTree syntaxTree, TextSpan textSpan, FormattingOptions options ) : IList
GetEditsAfterKeystroke ( SyntaxTree syntaxTree, int position, char character, FormattingOptions options ) : IList

메소드 상세

ApplyEdits() 공개 정적인 메소드

public static ApplyEdits ( string code, IList edits ) : string
code string
edits IList
리턴 string

GetEdits() 공개 정적인 메소드

public static GetEdits ( SyntaxTree syntaxTree, TextSpan textSpan, FormattingOptions options ) : IList
syntaxTree ShaderTools.Hlsl.Syntax.SyntaxTree
textSpan TextSpan
options FormattingOptions
리턴 IList

GetEditsAfterKeystroke() 공개 정적인 메소드

public static GetEditsAfterKeystroke ( SyntaxTree syntaxTree, int position, char character, FormattingOptions options ) : IList
syntaxTree ShaderTools.Hlsl.Syntax.SyntaxTree
position int
character char
options FormattingOptions
리턴 IList