Beispiel #1
0
        private string GetIdentifierName()
        {
            int start = Index;

            while (!IsEof())
            {
                char c = Code.GetChar(Index);
                if (CharUtils.IsIdentifier(c))
                {
                    ++Index;
                }
                else
                {
                    break;
                }
            }

            return(Code.Slice(start, Index));
        }