Class: Rubinius::AST::Super
- Inherits:
-
SendWithArguments
- Object
- Node
- Send
- SendWithArguments
- Rubinius::AST::Super
- Defined in:
- lib/compiler/ast/sends.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from SendWithArguments
Attributes inherited from Send
#check_for_local, #privately, #receiver, #variable
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, arguments) ⇒ Super
constructor
A new instance of Super.
- #to_sexp ⇒ Object
Methods inherited from SendWithArguments
Methods inherited from Send
#arguments_sexp, #check_local_reference, #receiver_sexp, #sexp_name
Methods inherited from Node
#ascii_graph, #attributes, #children, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, node_name, #pos, #set_child, transform, #transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk
Constructor Details
#initialize(line, arguments) ⇒ Super
Returns a new instance of Super.
563 564 565 566 567 568 |
# File 'lib/compiler/ast/sends.rb', line 563 def initialize(line, arguments) @line = line @block = nil @name = nil @arguments = ActualArguments.new line, arguments end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
561 562 563 |
# File 'lib/compiler/ast/sends.rb', line 561 def block @block end |
#name ⇒ Object
Returns the value of attribute name.
561 562 563 |
# File 'lib/compiler/ast/sends.rb', line 561 def name @name end |
Instance Method Details
#to_sexp ⇒ Object
570 571 572 |
# File 'lib/compiler/ast/sends.rb', line 570 def to_sexp arguments_sexp :super end |