Class: CompositeSexpProcessor

Class | CompositeSexpProcessor
In: | lib/composite_sexp_processor.rb
Parent: | SexpProcessor

Implements the Composite pattern on SexpProcessor. Need we say more?

Yeah… probably. Implements a SexpProcessor of SexpProcessors so you can easily chain multiple to each other. At some stage we plan on having all of them run `process` and but only ever output something when `generate` is called, allowing for deferred final processing.

### Methods

<< on_error_in process

### Attributes

processors | [R] | The list o’ processors to run.

### Public Instance methods

<<(processor)

Add a `processor` to the list of processors to run.

on_error_in(node_type, &block)
process(exp)

Run `exp` through all of the processors, returning the final result.

[Validate]