Class: Kapusta::Quasiquote
- Inherits:
-
Object
- Object
- Kapusta::Quasiquote
- Defined in:
- lib/kapusta/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#form ⇒ Object
readonly
Returns the value of attribute form.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(form) ⇒ Quasiquote
constructor
A new instance of Quasiquote.
- #inspect ⇒ Object
Constructor Details
#initialize(form) ⇒ Quasiquote
Returns a new instance of Quasiquote.
160 161 162 |
# File 'lib/kapusta/ast.rb', line 160 def initialize(form) @form = form end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
158 159 160 |
# File 'lib/kapusta/ast.rb', line 158 def column @column end |
#form ⇒ Object (readonly)
Returns the value of attribute form.
157 158 159 |
# File 'lib/kapusta/ast.rb', line 157 def form @form end |
#line ⇒ Object
Returns the value of attribute line.
158 159 160 |
# File 'lib/kapusta/ast.rb', line 158 def line @line end |
Instance Method Details
#inspect ⇒ Object
164 165 166 |
# File 'lib/kapusta/ast.rb', line 164 def inspect "`#{@form.inspect}" end |