Module: Origen::Tester::Parser

Included in:
J750, Ultraflex
Defined in:
lib/origen/tester/parser.rb,
lib/origen/tester/parser/searchable_hash.rb,
lib/origen/tester/parser/searchable_array.rb,
lib/origen/tester/parser/description_lookup.rb

Defined Under Namespace

Classes: DescriptionLookup, SearchableArray, SearchableHash

Instance Method Summary (collapse)

Instance Method Details

- (Object) parse(*args, &block)



8
9
10
# File 'lib/origen/tester/parser.rb', line 8

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

- (Object) tests

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


19
20
21
# File 'lib/origen/tester/parser.rb', line 19

def tests
  parser.flow_items
end