IsAtEnd() 공개 메소드

public IsAtEnd ( string line ) : bool
line string
리턴 bool
        public void is_at_end()
        {
            var scanner = new BlockCommentScanner("<!--", "-->", "spark", "lang-htm");

            scanner.IsAtEnd("<!-- SAMPLE: something").ShouldBeFalse();
            scanner.IsAtEnd("<p>some html</p>").ShouldBeFalse();
            scanner.IsAtEnd("ENDSAMPLE").ShouldBeFalse();
            scanner.IsAtEnd("<!-- ENDSAMPLE -->").ShouldBeTrue();
        }