Class: AArch64::Parser::TwoWithLsl
- Inherits:
-
Object
- Object
- AArch64::Parser::TwoWithLsl
- Defined in:
- lib/aarch64/parser.rb
Instance Attribute Summary collapse
-
#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(n, m, lsl:) ⇒ TwoWithLsl
constructor
A new instance of TwoWithLsl.
Constructor Details
#initialize(n, m, lsl:) ⇒ TwoWithLsl
Returns a new instance of TwoWithLsl.
74 75 76 77 78 |
# File 'lib/aarch64/parser.rb', line 74 def initialize n, m, lsl: @n = n @m = m @lsl = lsl end |
Instance Attribute Details
#lsl ⇒ Object (readonly)
Returns the value of attribute lsl.
72 73 74 |
# File 'lib/aarch64/parser.rb', line 72 def lsl @lsl end |
#m ⇒ Object (readonly)
Returns the value of attribute m.
72 73 74 |
# File 'lib/aarch64/parser.rb', line 72 def m @m end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
72 73 74 |
# File 'lib/aarch64/parser.rb', line 72 def n @n end |
Instance Method Details
#apply(asm, name) ⇒ Object
80 81 82 |
# File 'lib/aarch64/parser.rb', line 80 def apply asm, name asm.public_send(name, n, m, lsl: lsl) end |