Boo.Lang.Parser.BooLexer.mRE_LITERAL C# (CSharp) Method

mRE_LITERAL() protected method

protected mRE_LITERAL ( bool _createToken ) : void
_createToken bool
return void
        protected void mRE_LITERAL(bool _createToken)
        {
            int _ttype; IToken _token=null; int _begin=text.Length;
            _ttype = RE_LITERAL;

            match('/');
            { // ( ... )+
            int _cnt833=0;
            for (;;)
            {
                if ((tokenSet_5_.member(cached_LA1)))
                {
                    mRE_CHAR(false);
                }
                else
                {
                    if (_cnt833 >= 1) { goto _loop833_breakloop; } else { throw new NoViableAltForCharException(cached_LA1, getFilename(), getLine(), getColumn());; }
                }

                _cnt833++;
            }
            _loop833_breakloop:			;
            }    // ( ... )+
            match('/');
            {
            if ((tokenSet_1_.member(cached_LA1)))
            {
                mRE_OPTIONS(false);
            }
            else {
            }

            }
            if (_createToken && (null == _token) && (_ttype != Token.SKIP))
            {
            _token = makeToken(_ttype);
            _token.setText(text.ToString(_begin, text.Length-_begin));
            }
            returnToken_ = _token;
        }