C# 클래스 ShaderTools.VisualStudio.Hlsl.Util.ContextQuery.SyntaxTreeExtensions

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

공개 메소드들

메소드 설명
IsPreprocessorKeywordContext ( this syntaxTree, SourceLocation position, SyntaxToken preProcessorTokenOnLeftOfPosition ) : bool
IsTypeDeclarationContext ( this syntaxTree, SyntaxToken token ) : bool

메소드 상세

IsPreprocessorKeywordContext() 공개 정적인 메소드

public static IsPreprocessorKeywordContext ( this syntaxTree, SourceLocation position, SyntaxToken preProcessorTokenOnLeftOfPosition ) : bool
syntaxTree this
position ShaderTools.Hlsl.Syntax.SourceLocation
preProcessorTokenOnLeftOfPosition SyntaxToken
리턴 bool

IsTypeDeclarationContext() 공개 정적인 메소드

public static IsTypeDeclarationContext ( this syntaxTree, SyntaxToken token ) : bool
syntaxTree this
token SyntaxToken
리턴 bool