Class: RubyUnderscore::Call
- Inherits:
-
AbstractSexp
- Object
- AbstractSexp
- RubyUnderscore::Call
- Defined in:
- lib/tree_converters.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#method ⇒ Object
Returns the value of attribute method.
-
#target ⇒ Object
Returns the value of attribute target.
Attributes inherited from AbstractSexp
Instance Method Summary collapse
Methods inherited from AbstractSexp
#argumentList, #decVcallCount, #enhance, #initialize, #process, #regularEnhance, #s, #subtreeNeedsEnhance?
Methods included from EnhancerHelper
#assertSexpIs, #chain, #clone, #needsEnhancing, #sexpEnhancingCount, #sexpNeedsEnhancing, #sexpOf
Constructor Details
This class inherits a constructor from RubyUnderscore::AbstractSexp
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
168 169 170 |
# File 'lib/tree_converters.rb', line 168 def args @args end |
#method ⇒ Object
Returns the value of attribute method.
168 169 170 |
# File 'lib/tree_converters.rb', line 168 def method @method end |
#target ⇒ Object
Returns the value of attribute target.
168 169 170 |
# File 'lib/tree_converters.rb', line 168 def target @target end |
Instance Method Details
#asArray ⇒ Object
177 178 179 |
# File 'lib/tree_converters.rb', line 177 def asArray [type, process(target), method] end |
#deconstruct(sexp) ⇒ Object
173 174 175 |
# File 'lib/tree_converters.rb', line 173 def deconstruct(sexp) @target, @method, @args = sexp end |
#type ⇒ Object
169 170 171 |
# File 'lib/tree_converters.rb', line 169 def type :call end |