Class: OrigenTesters::ATP::Formatter
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Processor
#add_global_flag, #clean_flag, #extract_globals, #extract_volatiles, #global_flag?, #global_flags, #handler_missing, #process, #process_all, #run, #volatile?, #volatile_flags
Class Method Details
12
13
14
|
# File 'lib/origen_testers/atp/formatter.rb', line 12
def self.format(node, options = {})
new.format(node, options)
end
|
.run(*args) ⇒ Object
21
22
23
|
# File 'lib/origen_testers/atp/formatter.rb', line 21
def self.run(*args)
run_and_format(*args)
end
|
16
17
18
19
|
# File 'lib/origen_testers/atp/formatter.rb', line 16
def self.run_and_format(node, options = {})
ast = Runner.new.run(node, options)
format(ast, options)
end
|
Instance Method Details
3
4
5
|
# File 'lib/origen_testers/atp/formatter.rb', line 3
def format(node, options = {})
process(node)
end
|
7
8
9
10
|
# File 'lib/origen_testers/atp/formatter.rb', line 7
def run_and_format(node, options = {})
ast = Runner.new.run(node, options)
format(ast, options)
end
|