Lucene.Net.Analysis.MockTokenizer.IsTokenChar C# (CSharp) Method

IsTokenChar() protected method

protected IsTokenChar ( int c ) : bool
c int
return bool
        protected internal virtual bool IsTokenChar(int c)
        {
            if (state < 0)
            {
                state = RunAutomaton.InitialState;
            }
            state = RunAutomaton.Step(state, c);
            if (state < 0)
            {
                return false;
            }
            else
            {
                return true;
            }
        }