Class: OrigenTesters::ATP::Processors::SubFlowRemover

Inherits:
OrigenTesters::ATP::Processor show all
Defined in:
lib/origen_testers/atp/processors/sub_flow_remover.rb

Overview

Removes all :sub_flow nodes

Instance Method Summary collapse

Methods inherited from OrigenTesters::ATP::Processor

#add_global_flag, #clean_flag, #extract_globals, #extract_volatiles, #global_flag?, #global_flags, #handler_missing, #process, #process_all, #run, #volatile?, #volatile_flags

Instance Method Details

#on_sub_flow(node) ⇒ Object



5
6
7
# File 'lib/origen_testers/atp/processors/sub_flow_remover.rb', line 5

def on_sub_flow(node)
  node.updated(:remove, nil)
end