Class: AArch64::Parser::ThreeWithLsl
- Inherits:
-
Object
- Object
- AArch64::Parser::ThreeWithLsl
- Defined in:
- lib/aarch64/parser.rb
Instance Attribute Summary collapse
-
#d ⇒ Object
readonly
Returns the value of attribute d.
-
#lsl ⇒ Object
readonly
Returns the value of attribute lsl.
-
#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, lsl:) ⇒ ThreeWithLsl
constructor
A new instance of ThreeWithLsl.
Constructor Details
#initialize(d, n, m, lsl:) ⇒ ThreeWithLsl
Returns a new instance of ThreeWithLsl.
88 89 90 91 92 93 |
# File 'lib/aarch64/parser.rb', line 88 def initialize d, n, m, lsl: @d = d @n = n @m = m @lsl = lsl end |
Instance Attribute Details
#d ⇒ Object (readonly)
Returns the value of attribute d.
86 87 88 |
# File 'lib/aarch64/parser.rb', line 86 def d @d end |
#lsl ⇒ Object (readonly)
Returns the value of attribute lsl.
86 87 88 |
# File 'lib/aarch64/parser.rb', line 86 def lsl @lsl end |
#m ⇒ Object (readonly)
Returns the value of attribute m.
86 87 88 |
# File 'lib/aarch64/parser.rb', line 86 def m @m end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
86 87 88 |
# File 'lib/aarch64/parser.rb', line 86 def n @n end |
Instance Method Details
#apply(asm, name) ⇒ Object
95 96 97 |
# File 'lib/aarch64/parser.rb', line 95 def apply asm, name asm.public_send(name, d, n, m, lsl: lsl) end |