public
Fork of olsonjeffery/boolangstudio
Description: Boo language integration for Visual Studio 2008
Homepage: http://www.codeplex.com/BooLangStudio
Clone URL: git://github.com/jagregory/boolangstudio.git
boolangstudio / Source / BooLangService / StringParsing / ExcludingStringLiteralsStringWalker.cs
100644 12 lines (11 sloc) 0.33 kb
1
2
3
4
5
6
7
8
9
10
11
12
namespace Boo.BooLangService.StringParsing
{
    public class ExcludingStringLiteralsStringWalker : StringWalker
    {
        protected override bool ShouldYield(char currentChar)
        {
            if (StateIs(StringWalkerState.InsideString)) return false;
 
            return base.ShouldYield(currentChar);
        }
    }
}