Class: Juli::LineAbsyn::Macro
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#rest ⇒ Object
Returns the value of attribute rest.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
-
#initialize(name, rest) ⇒ Macro
constructor
A new instance of Macro.
Constructor Details
#initialize(name, rest) ⇒ Macro
Returns a new instance of Macro.
43 44 45 46 |
# File 'lib/juli/line_parser.tab.rb', line 43 def initialize(name, rest) @name = name @rest = rest end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
41 42 43 |
# File 'lib/juli/line_parser.tab.rb', line 41 def name @name end |
#rest ⇒ Object
Returns the value of attribute rest.
41 42 43 |
# File 'lib/juli/line_parser.tab.rb', line 41 def rest @rest end |
Instance Method Details
#accept(visitor) ⇒ Object
48 49 50 |
# File 'lib/juli/line_parser.tab.rb', line 48 def accept(visitor) visitor.visit_macro(self) end |