C# Class ShaderTools.VisualStudio.Hlsl.Parsing.BackgroundParser

Inheritance: ShaderTools.VisualStudio.Core.Parsing.BackgroundParserBase
ファイルを表示 Open project: tgjones/HlslTools Class Usage Examples

Public Methods

Method Description
BackgroundParser ( ITextBuffer textBuffer ) : System.Threading

Protected Methods

Method Description
CreateSyntaxTree ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : void
TryCreateSemanticModel ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : bool

Method Details

BackgroundParser() public method

public BackgroundParser ( ITextBuffer textBuffer ) : System.Threading
textBuffer ITextBuffer
return System.Threading

CreateSyntaxTree() protected method

protected CreateSyntaxTree ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : void
snapshot ITextSnapshot
cancellationToken System.Threading.CancellationToken
return void

TryCreateSemanticModel() protected method

protected TryCreateSemanticModel ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : bool
snapshot ITextSnapshot
cancellationToken System.Threading.CancellationToken
return bool