Ejemplo n.º 1
0
        private void Enqueue(Queue<Invocation> entities, string line)
        {
            var invocation = new Invocation();

            if (line.Contains("("))
            {
                line = line.Substring(0, line.IndexOf('('));
                invocation.HadParentheses = true;
            }

            invocation.Name = line;

            entities.Enqueue(invocation);
        }