コード例 #1
0
 public SyntaxKind GetKind()
 {
     if (Kind != SyntaxKind.None)
     {
         return(Kind);
     }
     return(SyntaxFacts.GetCheckStatement(TameSyntaxFacts.SyntaxKindFromStr(KeywordStr)));
 }
コード例 #2
0
 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)));
 }