C# Class ShaderTools.Hlsl.Syntax.SyntaxFacts

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
CanFollowCast ( SyntaxKind kind ) : bool
CanStartDeclaration ( SyntaxToken token ) : bool
GetAssignmentExpression ( SyntaxKind kind ) : SyntaxKind
GetBinaryExpression ( SyntaxKind kind ) : SyntaxKind
GetBinaryOperatorKind ( SyntaxKind kind ) : BinaryOperatorKind
GetContextualKeywordKind ( string text ) : SyntaxKind
GetDisplayText ( this token ) : string
GetKeywordKind ( string text ) : SyntaxKind
GetLiteralExpression ( SyntaxKind kind ) : SyntaxKind
GetOperatorPrecedence ( SyntaxKind op ) : uint
GetParameterDirection ( IList modifiers ) : ParameterDirection
GetPostfixUnaryExpression ( SyntaxKind kind ) : SyntaxKind
GetPredefinedObjectType ( SyntaxKind kind ) : PredefinedObjectType
GetPrefixUnaryExpression ( SyntaxKind kind, bool forPreprocessor = false ) : SyntaxKind
GetPreprocessorKeywordKind ( string text ) : SyntaxKind
GetText ( this kind ) : string
GetUnaryOperatorKind ( SyntaxKind kind ) : UnaryOperatorKind
HaveMatchingSignatures ( FunctionSyntax left, FunctionSyntax right ) : bool
IsAnyUnaryExpression ( SyntaxKind token ) : bool
IsAssignmentExpression ( SyntaxKind token ) : bool
IsBinaryExpression ( SyntaxKind token ) : bool
IsComment ( this kind ) : bool
IsDeclarationModifier ( SyntaxKind kind ) : bool
IsIdentifierOrKeyword ( this kind ) : bool
IsIfLikeDirective ( this kind ) : bool
IsKeyword ( this kind ) : bool
IsLiteral ( this kind ) : bool
IsNumericLiteral ( this kind ) : bool
IsOperator ( this kind ) : bool
IsParameterModifier ( SyntaxToken token ) : bool
IsPostfixUnaryExpression ( SyntaxKind token ) : bool
IsPredefinedMatrixType ( SyntaxKind kind ) : bool
IsPredefinedObjectType ( SyntaxToken token ) : bool
IsPredefinedScalarType ( SyntaxKind kind ) : bool
IsPredefinedType ( SyntaxToken token ) : bool
IsPredefinedVectorType ( SyntaxKind kind ) : bool
IsPrefixUnaryExpression ( SyntaxKind token, bool forPreprocessor = false ) : bool
IsPreprocessorDirective ( this kind ) : bool
IsPreprocessorKeyword ( this kind ) : bool
IsPunctuation ( this kind ) : bool
IsRightAssociative ( SyntaxKind op ) : bool
IsTrivia ( this kind ) : bool
IsWhitespace ( this kind ) : bool
IsWord ( this token ) : bool

Method Details

CanFollowCast() public static méthode

public static CanFollowCast ( SyntaxKind kind ) : bool
kind SyntaxKind
Résultat bool

CanStartDeclaration() public static méthode

public static CanStartDeclaration ( SyntaxToken token ) : bool
token SyntaxToken
Résultat bool

GetAssignmentExpression() public static méthode

public static GetAssignmentExpression ( SyntaxKind kind ) : SyntaxKind
kind SyntaxKind
Résultat SyntaxKind

GetBinaryExpression() public static méthode

public static GetBinaryExpression ( SyntaxKind kind ) : SyntaxKind
kind SyntaxKind
Résultat SyntaxKind

GetBinaryOperatorKind() public static méthode

public static GetBinaryOperatorKind ( SyntaxKind kind ) : BinaryOperatorKind
kind SyntaxKind
Résultat BinaryOperatorKind

GetContextualKeywordKind() public static méthode

public static GetContextualKeywordKind ( string text ) : SyntaxKind
text string
Résultat SyntaxKind

GetDisplayText() public static méthode

public static GetDisplayText ( this token ) : string
token this
Résultat string

GetKeywordKind() public static méthode

public static GetKeywordKind ( string text ) : SyntaxKind
text string
Résultat SyntaxKind

GetLiteralExpression() public static méthode

public static GetLiteralExpression ( SyntaxKind kind ) : SyntaxKind
kind SyntaxKind
Résultat SyntaxKind

GetOperatorPrecedence() public static méthode

public static GetOperatorPrecedence ( SyntaxKind op ) : uint
op SyntaxKind
Résultat uint

GetParameterDirection() public static méthode

public static GetParameterDirection ( IList modifiers ) : ParameterDirection
modifiers IList
Résultat ParameterDirection

GetPostfixUnaryExpression() public static méthode

public static GetPostfixUnaryExpression ( SyntaxKind kind ) : SyntaxKind
kind SyntaxKind
Résultat SyntaxKind

GetPredefinedObjectType() public static méthode

public static GetPredefinedObjectType ( SyntaxKind kind ) : PredefinedObjectType
kind SyntaxKind
Résultat PredefinedObjectType

GetPrefixUnaryExpression() public static méthode

public static GetPrefixUnaryExpression ( SyntaxKind kind, bool forPreprocessor = false ) : SyntaxKind
kind SyntaxKind
forPreprocessor bool
Résultat SyntaxKind

GetPreprocessorKeywordKind() public static méthode

public static GetPreprocessorKeywordKind ( string text ) : SyntaxKind
text string
Résultat SyntaxKind

GetText() public static méthode

public static GetText ( this kind ) : string
kind this
Résultat string

GetUnaryOperatorKind() public static méthode

public static GetUnaryOperatorKind ( SyntaxKind kind ) : UnaryOperatorKind
kind SyntaxKind
Résultat UnaryOperatorKind

HaveMatchingSignatures() public static méthode

public static HaveMatchingSignatures ( FunctionSyntax left, FunctionSyntax right ) : bool
left FunctionSyntax
right FunctionSyntax
Résultat bool

IsAnyUnaryExpression() public static méthode

public static IsAnyUnaryExpression ( SyntaxKind token ) : bool
token SyntaxKind
Résultat bool

IsAssignmentExpression() public static méthode

public static IsAssignmentExpression ( SyntaxKind token ) : bool
token SyntaxKind
Résultat bool

IsBinaryExpression() public static méthode

public static IsBinaryExpression ( SyntaxKind token ) : bool
token SyntaxKind
Résultat bool

IsComment() public static méthode

public static IsComment ( this kind ) : bool
kind this
Résultat bool

IsDeclarationModifier() public static méthode

public static IsDeclarationModifier ( SyntaxKind kind ) : bool
kind SyntaxKind
Résultat bool

IsIdentifierOrKeyword() public static méthode

public static IsIdentifierOrKeyword ( this kind ) : bool
kind this
Résultat bool

IsIfLikeDirective() public static méthode

public static IsIfLikeDirective ( this kind ) : bool
kind this
Résultat bool

IsKeyword() public static méthode

public static IsKeyword ( this kind ) : bool
kind this
Résultat bool

IsLiteral() public static méthode

public static IsLiteral ( this kind ) : bool
kind this
Résultat bool

IsNumericLiteral() public static méthode

public static IsNumericLiteral ( this kind ) : bool
kind this
Résultat bool

IsOperator() public static méthode

public static IsOperator ( this kind ) : bool
kind this
Résultat bool

IsParameterModifier() public static méthode

public static IsParameterModifier ( SyntaxToken token ) : bool
token SyntaxToken
Résultat bool

IsPostfixUnaryExpression() public static méthode

public static IsPostfixUnaryExpression ( SyntaxKind token ) : bool
token SyntaxKind
Résultat bool

IsPredefinedMatrixType() public static méthode

public static IsPredefinedMatrixType ( SyntaxKind kind ) : bool
kind SyntaxKind
Résultat bool

IsPredefinedObjectType() public static méthode

public static IsPredefinedObjectType ( SyntaxToken token ) : bool
token SyntaxToken
Résultat bool

IsPredefinedScalarType() public static méthode

public static IsPredefinedScalarType ( SyntaxKind kind ) : bool
kind SyntaxKind
Résultat bool

IsPredefinedType() public static méthode

public static IsPredefinedType ( SyntaxToken token ) : bool
token SyntaxToken
Résultat bool

IsPredefinedVectorType() public static méthode

public static IsPredefinedVectorType ( SyntaxKind kind ) : bool
kind SyntaxKind
Résultat bool

IsPrefixUnaryExpression() public static méthode

public static IsPrefixUnaryExpression ( SyntaxKind token, bool forPreprocessor = false ) : bool
token SyntaxKind
forPreprocessor bool
Résultat bool

IsPreprocessorDirective() public static méthode

public static IsPreprocessorDirective ( this kind ) : bool
kind this
Résultat bool

IsPreprocessorKeyword() public static méthode

public static IsPreprocessorKeyword ( this kind ) : bool
kind this
Résultat bool

IsPunctuation() public static méthode

public static IsPunctuation ( this kind ) : bool
kind this
Résultat bool

IsRightAssociative() public static méthode

public static IsRightAssociative ( SyntaxKind op ) : bool
op SyntaxKind
Résultat bool

IsTrivia() public static méthode

public static IsTrivia ( this kind ) : bool
kind this
Résultat bool

IsWhitespace() public static méthode

public static IsWhitespace ( this kind ) : bool
kind this
Résultat bool

IsWord() public static méthode

public static IsWord ( this token ) : bool
token this
Résultat bool