C# Class ShaderTools.VisualStudio.Hlsl.Util.Extensions.Extensions

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
GetBackgroundParser ( this textBuffer ) : BackgroundParser
GetDesiredIndentation ( this textView, ISmartIndentationService smartIndentService, ITextSnapshotLine line ) : int?
GetIncludeFileSystem ( this textBuffer, VisualStudioSourceTextFactory sourceTextFactory ) : IIncludeFileSystem
GetPosition ( this syntaxEditor, ITextSnapshot snapshot ) : int
GetSyntaxTagger ( this textBuffer ) : SyntaxTagger
GetSyntaxTree ( this snapshot, CancellationToken cancellationToken ) : SyntaxTree
GetTextContainer ( this textBuffer ) : VisualStudioSourceTextContainer
TryGetSemanticModel ( this snapshot, CancellationToken cancellationToken, SemanticModel &semanticModel ) : bool

Method Details

GetBackgroundParser() public static méthode

public static GetBackgroundParser ( this textBuffer ) : BackgroundParser
textBuffer this
Résultat ShaderTools.VisualStudio.Hlsl.Parsing.BackgroundParser

GetDesiredIndentation() public static méthode

public static GetDesiredIndentation ( this textView, ISmartIndentationService smartIndentService, ITextSnapshotLine line ) : int?
textView this
smartIndentService ISmartIndentationService
line ITextSnapshotLine
Résultat int?

GetIncludeFileSystem() public static méthode

public static GetIncludeFileSystem ( this textBuffer, VisualStudioSourceTextFactory sourceTextFactory ) : IIncludeFileSystem
textBuffer this
sourceTextFactory ShaderTools.VisualStudio.Hlsl.Text.VisualStudioSourceTextFactory
Résultat IIncludeFileSystem

GetPosition() public static méthode

public static GetPosition ( this syntaxEditor, ITextSnapshot snapshot ) : int
syntaxEditor this
snapshot ITextSnapshot
Résultat int

GetSyntaxTagger() public static méthode

public static GetSyntaxTagger ( this textBuffer ) : SyntaxTagger
textBuffer this
Résultat SyntaxTagger

GetSyntaxTree() public static méthode

public static GetSyntaxTree ( this snapshot, CancellationToken cancellationToken ) : SyntaxTree
snapshot this
cancellationToken System.Threading.CancellationToken
Résultat ShaderTools.Hlsl.Syntax.SyntaxTree

GetTextContainer() public static méthode

public static GetTextContainer ( this textBuffer ) : VisualStudioSourceTextContainer
textBuffer this
Résultat ShaderTools.VisualStudio.Hlsl.Text.VisualStudioSourceTextContainer

TryGetSemanticModel() public static méthode

public static TryGetSemanticModel ( this snapshot, CancellationToken cancellationToken, SemanticModel &semanticModel ) : bool
snapshot this
cancellationToken System.Threading.CancellationToken
semanticModel ShaderTools.Hlsl.Compilation.SemanticModel
Résultat bool