Class: SystemRDL::Evaluator::PropertyDefinition
- Inherits:
-
Object
- Object
- SystemRDL::Evaluator::PropertyDefinition
- Defined in:
- lib/systemrdl/evaluator/property.rb
Instance Attribute Summary collapse
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#dynamic_assign ⇒ Object
Returns the value of attribute dynamic_assign.
-
#exist ⇒ Object
Returns the value of attribute exist.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#per_element_assign ⇒ Object
Returns the value of attribute per_element_assign.
-
#ref_target ⇒ Object
Returns the value of attribute ref_target.
-
#targets ⇒ Object
Returns the value of attribute targets.
-
#types ⇒ Object
Returns the value of attribute types.
Instance Method Summary collapse
- #create(instance) ⇒ Object
-
#initialize(name) {|_self| ... } ⇒ PropertyDefinition
constructor
A new instance of PropertyDefinition.
Constructor Details
#initialize(name) {|_self| ... } ⇒ PropertyDefinition
Returns a new instance of PropertyDefinition.
65 66 67 68 |
# File 'lib/systemrdl/evaluator/property.rb', line 65 def initialize(name) @name = name yield(self) end |
Instance Attribute Details
#default_value ⇒ Object
Returns the value of attribute default_value.
77 78 79 |
# File 'lib/systemrdl/evaluator/property.rb', line 77 def default_value @default_value end |
#dynamic_assign ⇒ Object
Returns the value of attribute dynamic_assign.
75 76 77 |
# File 'lib/systemrdl/evaluator/property.rb', line 75 def dynamic_assign @dynamic_assign end |
#exist ⇒ Object
Returns the value of attribute exist.
72 73 74 |
# File 'lib/systemrdl/evaluator/property.rb', line 72 def exist @exist end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
70 71 72 |
# File 'lib/systemrdl/evaluator/property.rb', line 70 def name @name end |
#per_element_assign ⇒ Object
Returns the value of attribute per_element_assign.
76 77 78 |
# File 'lib/systemrdl/evaluator/property.rb', line 76 def per_element_assign @per_element_assign end |
#ref_target ⇒ Object
Returns the value of attribute ref_target.
74 75 76 |
# File 'lib/systemrdl/evaluator/property.rb', line 74 def ref_target @ref_target end |
#targets ⇒ Object
Returns the value of attribute targets.
71 72 73 |
# File 'lib/systemrdl/evaluator/property.rb', line 71 def targets @targets end |
#types ⇒ Object
Returns the value of attribute types.
73 74 75 |
# File 'lib/systemrdl/evaluator/property.rb', line 73 def types @types end |