ScriptsRefactorer.Token.IsBlockCommentStart C# (CSharp) 메소드

IsBlockCommentStart() 공개 메소드

public IsBlockCommentStart ( ) : bool
리턴 bool
        public bool IsBlockCommentStart()
        {
            return IsSymbol() && Value == "/" && !MakesNewLine()  && RealNext() != null && RealNext().IsSymbol() && RealNext().Value == "*";
        }

Usage Example

예제 #1
0
파일: Token.cs 프로젝트: Venseer/tools
 public bool IsArrayStart()
 {
     if (!(IsLeft() && Next() != null && Next().IsRight()))
     {
         return(false);
     }
     for (Token n = RealNext(); !n.IsRight(); n = n.RealNext())
     {
         if (n.IsLineCommentStart())
         {
             continue;
         }
         if (n.IsBlockCommentStart())
         {
             continue;
         }
         if (n.IsBlockCommentEnd())
         {
             continue;
         }
         return(false);
     }
     return(true);
 }
All Usage Examples Of ScriptsRefactorer.Token::IsBlockCommentStart