public SyntaxKind GetKind()
 {
     if (Kind != SyntaxKind.None)
     {
         return(Kind);
     }
     return(SyntaxFacts.GetCheckStatement(TameSyntaxFacts.SyntaxKindFromStr(KeywordStr)));
 }
 public SyntaxKind GetKind()
 {
     if (Kind != SyntaxKind.None)
     {
         return(Kind);
     }
     return(SyntaxFacts.GetTypeDeclarationKind(TameSyntaxFacts.SyntaxKindFromStr(KeywordStr)));
 }
 public SyntaxKind GetKind()
 {
     if (Kind != SyntaxKind.None)
     {
         return(Kind);
     }
     return(SyntaxFacts.GetPostfixUnaryExpression(TameSyntaxFacts.SyntaxKindFromStr(OperatorTokenStr)));
 }
示例#4
0
 public SyntaxKind GetKind()
 {
     if (Kind != SyntaxKind.None)
     {
         return(Kind);
     }
     return(SyntaxFacts.GetLiteralExpression(TameSyntaxFacts.SyntaxKindFromStr(TokenStr)));
 }