public void AddStep( IStep step ) { if (_head == null) { _head = step; _tail = _head; } else { _tail.Next = step; _tail = step; } }
protected override void AddSteps(StepChainBuilder chain) { chain.AddStep(new SemanticAnalizerStep()); chain.AddStep(new ResolveTypesStep()); chain.AddStep(new PruneTypesStep()); }