Class: CodeTools::AST::AndSendWithArguments
- Inherits:
-
SendWithArguments
- Object
- Node
- Send
- SendWithArguments
- CodeTools::AST::AndSendWithArguments
- Defined in:
- lib/rubinius/code/ast/sends.rb
Instance Attribute Summary
Attributes inherited from SendWithArguments
Attributes inherited from Send
#block, #name, #privately, #receiver, #variable, #vcall_style
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from SendWithArguments
Methods inherited from Send
#arguments_sexp, #check_local_reference, #defined, #initialize, #receiver_sexp, #to_sexp, #value_defined
Methods inherited from Node
#ascii_graph, #attributes, #children, #defined, #initialize, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, #or_bytecode, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk
Constructor Details
This class inherits a constructor from CodeTools::AST::SendWithArguments
Instance Method Details
#bytecode(g) ⇒ Object
191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/rubinius/code/ast/sends.rb', line 191 def bytecode(g) done = g.new_label @receiver.bytecode(g) g.dup g.goto_if_nil done super(g, true) done.set! end |
#sexp_name ⇒ Object
204 205 206 |
# File 'lib/rubinius/code/ast/sends.rb', line 204 def sexp_name :and_call end |