public IProgramNode Convert(ICompiler Compiler, IProgramNode ProgramNode) { Optimizer Optimizer = new Optimizer(); Compiler.AddWarnings(Optimizer.Optimize(ProgramNode as PascalSharp.Internal.TreeConverter.TreeRealization.program_node)); return(ProgramNode); }