Class: OrigenTesters::Test::Decompiler::Dummy::PatternParseFrontmatterPinlistVector

Inherits:
PatternParseFrontmatterPinlist show all
Defined in:
lib/origen_testers/test/dummy_decompiler.rb

Constant Summary

Constants included from Decompiler::Pattern::Splitter

Decompiler::Pattern::Splitter::OPTIONAL_KEYS, Decompiler::Pattern::Splitter::REQUIRED_KEYS

Instance Attribute Summary

Attributes inherited from Decompiler::Pattern

#decompiled, #direct_source, #source

Class Method Summary collapse

Methods inherited from PatternParseFrontmatterPinlist

parse_pinlist

Methods inherited from PatternParseFrontmatterOnly

parse_frontmatter

Methods inherited from Decompiler::Pattern

#add_pins, #comment_start, #current_vector_index, #decompile, #decompiled?, #decompiler, #decompiler?, #direct_source?, #execute, #first_pin_states, #first_pin_states_mapped, #first_timeset, #first_vector, #first_vector?, #frontmatter, #initialize, #method_parse_frontmatter, #method_parse_pinlist, #method_parse_vector, #parser_config, #pin_sizes, #pinlist, #pinlist_size, #pins, #platform, #platform?, #platform_tokens, #splitter_config, #subclass_error, #vectors, #verify_subclass_configuration

Methods included from Decompiler::Pattern::SpecHelpers

#spec_yaml_approved, #spec_yaml_output, #to_spec_yaml, #to_yaml_hash, #write_spec_yaml

Methods included from Decompiler::Pattern::EnumerableExt

#collect, #collect_with_index, #count, #each, #each_vector_with_index, #find, #find_all, #find_index, #first, #reject, #vector_at

Methods included from Decompiler::Pattern::Parsers

#_parse_frontmatter_, #_parse_pinlist_, #_parse_vector_

Methods included from Decompiler::Pattern::Splitter

#check_match, #raw_endmatter, #raw_frontmatter, #raw_lines, #raw_pinlist, #raw_vectors, #section_indices, #split, #split!

Constructor Details

This class inherits a constructor from OrigenTesters::Decompiler::Pattern

Class Method Details

.parse_vector(raw_vector:, context:) ⇒ Object



27
28
29
30
31
32
33
34
35
# File 'lib/origen_testers/test/dummy_decompiler.rb', line 27

def self.parse_vector(raw_vector:, context:)
  OrigenTesters::Decompiler::Nodes::Vector.new(
    context:    context,
    repeat:     0,
    timeset:    'timeset',
    pin_states: %w(p1 p2),
    comment:    'Comment'
  )
end