Class: RubyUnderscore::Fcall
- Inherits:
-
AbstractSexp
- Object
- AbstractSexp
- RubyUnderscore::Fcall
- 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.
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.
150 151 152 |
# File 'lib/tree_converters.rb', line 150 def args @args end |
#method ⇒ Object
Returns the value of attribute method.
150 151 152 |
# File 'lib/tree_converters.rb', line 150 def method @method end |
Instance Method Details
#asArray ⇒ Object
160 161 162 |
# File 'lib/tree_converters.rb', line 160 def asArray [type, method] end |
#deconstruct(sexp) ⇒ Object
155 156 157 |
# File 'lib/tree_converters.rb', line 155 def deconstruct(sexp) @method, @args = sexp end |
#type ⇒ Object
151 152 153 |
# File 'lib/tree_converters.rb', line 151 def type :fcall end |