C# Class ShaderTools.VisualStudio.Hlsl.Util.ContextQuery.SyntaxTreeExtensions

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
IsPreprocessorKeywordContext ( this syntaxTree, SourceLocation position, SyntaxToken preProcessorTokenOnLeftOfPosition ) : bool
IsTypeDeclarationContext ( this syntaxTree, SyntaxToken token ) : bool

Method Details

IsPreprocessorKeywordContext() public static méthode

public static IsPreprocessorKeywordContext ( this syntaxTree, SourceLocation position, SyntaxToken preProcessorTokenOnLeftOfPosition ) : bool
syntaxTree this
position ShaderTools.Hlsl.Syntax.SourceLocation
preProcessorTokenOnLeftOfPosition SyntaxToken
Résultat bool

IsTypeDeclarationContext() public static méthode

public static IsTypeDeclarationContext ( this syntaxTree, SyntaxToken token ) : bool
syntaxTree this
token SyntaxToken
Résultat bool