Class: AArch64::Parser::ThreeWithExtend
- Inherits:
-
Object
- Object
- AArch64::Parser::ThreeWithExtend
- Defined in:
- lib/aarch64/parser.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#d ⇒ Object
readonly
Returns the value of attribute d.
-
#extend ⇒ Object
readonly
Returns the value of attribute extend.
-
#m ⇒ Object
readonly
Returns the value of attribute m.
-
#n ⇒ Object
readonly
Returns the value of attribute n.
Instance Method Summary collapse
- #apply(asm, name) ⇒ Object
-
#initialize(d, n, m, extend:, amount:) ⇒ ThreeWithExtend
constructor
A new instance of ThreeWithExtend.
Constructor Details
#initialize(d, n, m, extend:, amount:) ⇒ ThreeWithExtend
Returns a new instance of ThreeWithExtend.
134 135 136 137 138 139 140 |
# File 'lib/aarch64/parser.rb', line 134 def initialize d, n, m, extend:, amount: @d = d @n = n @m = m @extend = extend @amount = amount end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
132 133 134 |
# File 'lib/aarch64/parser.rb', line 132 def amount @amount end |
#d ⇒ Object (readonly)
Returns the value of attribute d.
132 133 134 |
# File 'lib/aarch64/parser.rb', line 132 def d @d end |
#extend ⇒ Object (readonly)
Returns the value of attribute extend.
132 133 134 |
# File 'lib/aarch64/parser.rb', line 132 def extend @extend end |
#m ⇒ Object (readonly)
Returns the value of attribute m.
132 133 134 |
# File 'lib/aarch64/parser.rb', line 132 def m @m end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
132 133 134 |
# File 'lib/aarch64/parser.rb', line 132 def n @n end |
Instance Method Details
#apply(asm, name) ⇒ Object
142 143 144 |
# File 'lib/aarch64/parser.rb', line 142 def apply asm, name asm.public_send(name, d, n, m, extend: extend, amount: amount) end |