コード例 #1
0
 public Antlr4RoslynTokenKind GetTokenKind(int rawKind)
 {
     return(this.GetTokenKind(EnumObject.FromIntUnsafe <Antlr4RoslynTokensSyntaxKind>(rawKind)));
 }
コード例 #2
0
 public static SyntaxKind FromAntlr4(this int token, Type syntaxKindType)
 {
     return((SyntaxKind)EnumObject.FromIntUnsafe(syntaxKindType, token + SyntaxKind.__LastPredefinedSyntaxKindValue));
 }
コード例 #3
0
 public MetaTokenKind GetTokenKind(int rawKind)
 {
     return(this.GetTokenKind(EnumObject.FromIntUnsafe <MetaTokensSyntaxKind>(rawKind)));
 }