lib/atp.rb in atp-0.2.0 vs lib/atp.rb in atp-0.2.1

- old
+ new

@@ -1,11 +1,13 @@ require 'origen' require_relative '../config/application.rb' + module ATP autoload :Program, 'atp/program' autoload :Flow, 'atp/flow' autoload :Processor, 'atp/processor' + autoload :Validator, 'atp/validator' autoload :Runner, 'atp/runner' autoload :Formatter, 'atp/formatter' autoload :Parser, 'atp/parser' autoload :AND, 'atp/and' autoload :OR, 'atp/or' @@ -20,10 +22,11 @@ # Processors actually modify the AST to clean and optimize the user input # and to implement the flow control API module Processors autoload :Condition, 'atp/processors/condition' + autoload :ConditionExtractor, 'atp/processors/condition_extractor' autoload :Relationship, 'atp/processors/relationship' autoload :PreCleaner, 'atp/processors/pre_cleaner' autoload :PostCleaner, 'atp/processors/post_cleaner' end @@ -32,9 +35,11 @@ end # Validators are run on the processed AST to check it for common errors or # logical issues that will prevent it being rendered to a test program format module Validators + autoload :DuplicateIDs, 'atp/validators/duplicate_ids' + autoload :MissingIDs, 'atp/validators/missing_ids' autoload :Condition, 'atp/validators/condition' end # Formatters are run on the processed AST to display the flow or to render # it to a different format