Here are the examples of the csharp api NUnit.Util.CategoryExpression.EndOfText() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : CategoryExpression.cs
with MIT License
from roozbehid
with MIT License
from roozbehid
public string GetToken()
{
SkipWhiteSpace();
if ( EndOfText() )
token = null;
else if ( NextIsOperator() )
token = text.Substring(next++, 1);
else
{
int index2 = text.IndexOfAny( ops, next );
if ( index2 < 0 ) index2 = text.Length;
token = text.Substring( next, index2 - next ).TrimEnd();
next = index2;
}
return token;
}