コード例 #1
0
 public static bool IsPunctuator(ComprenoSentenceElementType type)
 {
     return type.Value == Punctuator_FullStop.Value
        || type.Value == Punctuator_Comma.Value
        || type.Value == Punctuator_LeftRoundBracket.Value
        || type.Value == Punctuator_RightRoundBracket.Value
        || type.Value == Punctuator_Colon.Value
         ;
 }
コード例 #2
0
 public static bool IsWord(ComprenoSentenceElementType type)
 {
     return type.Value == Word.Value;
 }
コード例 #3
0
 public static bool IsBracket(ComprenoSentenceElementType type)
 {
     return type.Value == Punctuator_LeftRoundBracket.Value
        || type.Value == Punctuator_RightRoundBracket.Value
         ;
 }