AjTalk.Compiler.Program.GetFileNames C# (CSharp) Method

GetFileNames() private static method

private static GetFileNames ( string args ) : IEnumerable
args string
return IEnumerable
        private static IEnumerable<string> GetFileNames(string[] args)
        {
            for (int k = 0; k < args.Length; k++)
            {
                string arg = args[k];

                if (arg[0] == '-')
                {
                    k++;
                    continue;
                }

                if (arg.EndsWith(".js"))
                    continue;

                yield return arg;
            }
        }