Class: CodeTools::AST::AndOpAssignAttribute
- Inherits:
-
OpAssignAttribute
- Object
- Node
- OpAssignAttribute
- CodeTools::AST::AndOpAssignAttribute
- Defined in:
- lib/rubinius/code/ast/operators.rb
Instance Attribute Summary
Attributes inherited from OpAssignAttribute
#assign, #name, #op, #receiver, #value
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from OpAssignAttribute
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::OpAssignAttribute
Instance Method Details
#bytecode(g) ⇒ Object
410 411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/rubinius/code/ast/operators.rb', line 410 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
423 424 425 |
# File 'lib/rubinius/code/ast/operators.rb', line 423 def sexp_name :and_op_asgn2 end |