AjTalk.ChunkReaderProcessor.Process C# (CSharp) Method

Process() public method

public Process ( ChunkReader reader, Machine machine, ICompiler compiler ) : void
reader ChunkReader
machine Machine
compiler ICompiler
return void
        public void Process(ChunkReader reader, Machine machine, ICompiler compiler)
        {
            if (this.count > 0)
                for (int k = 0; k < this.count; k++)
                    this.process(machine, compiler, reader.GetChunk());
            else
                for (string text = reader.GetChunk(); text != null; text = reader.GetChunk())
                    if (string.IsNullOrEmpty(text.Trim()))
                        return;
                    else
                        this.process(machine, compiler, text);
        }