Class: FAM::Syntax::AST::RegisterNode
- Defined in:
- lib/fam/syntax/ast.rb
Instance Attribute Summary collapse
-
#register ⇒ Object
Returns the value of attribute register.
Instance Method Summary collapse
-
#initialize(register) ⇒ RegisterNode
constructor
A new instance of RegisterNode.
Methods inherited from Node
Constructor Details
#initialize(register) ⇒ RegisterNode
Returns a new instance of RegisterNode.
137 138 139 |
# File 'lib/fam/syntax/ast.rb', line 137 def initialize register @register = register.name[1..-1] end |
Instance Attribute Details
#register ⇒ Object
Returns the value of attribute register.
136 137 138 |
# File 'lib/fam/syntax/ast.rb', line 136 def register @register end |