Module: OrigenTesters::Parser

Defined in:
lib/origen_testers/parser.rb,
lib/origen_testers/parser/searchable_hash.rb,
lib/origen_testers/parser/description_lookup.rb

Defined Under Namespace

Classes: DescriptionLookup, SearchableHash

Instance Method Summary collapse

Instance Method Details

#parse(*args, &block) ⇒ Object



7
8
9
# File 'lib/origen_testers/parser.rb', line 7

def parse(*args, &block)
  parser.parse(*args, &block)
end

#testsObject

Returns a SearchableArray containing all tests parsed from flows, this is intended to be the main API for accessing parsed test program attributes and should be a consistent method that is implemented accross all tester models.

Direct access to the underlying structure (which will be specific to the tester model) can be achieved through the parser method, which returns an instance of J750::Parser

$tester.parser.test_instances


18
19
20
# File 'lib/origen_testers/parser.rb', line 18

def tests
  parser.flow_items
end