C# Class ShaderTools.Unity.Syntax.SyntaxFacts

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
GetContextualKeywordKind ( string text ) : SyntaxKind
GetDisplayText ( this token ) : string
GetLiteralExpression ( SyntaxKind kind ) : SyntaxKind
GetPrefixUnaryExpression ( SyntaxKind kind, bool forPreprocessor = false ) : SyntaxKind
GetText ( this kind ) : string
GetUnityKeywordKind ( string text ) : SyntaxKind
IsComment ( this kind ) : bool
IsKeyword ( this kind ) : bool
IsNumericLiteral ( this kind ) : bool
IsOperator ( this kind ) : bool
IsPunctuation ( this kind ) : bool
IsWhitespace ( this kind ) : bool

Method Details

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

GetLiteralExpression() public static méthode

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

GetPrefixUnaryExpression() public static méthode

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

GetText() public static méthode

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

GetUnityKeywordKind() public static méthode

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

IsComment() public static méthode

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

IsKeyword() public static méthode

public static IsKeyword ( 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

IsPunctuation() public static méthode

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

IsWhitespace() public static méthode

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