Class: C::AssignmentExpression
- Inherits:
-
Expression
- Object
- Node
- Expression
- C::AssignmentExpression
- Defined in:
- lib/cast/c_nodes.rb,
lib/cast/c_nodes.rb
Overview
AssignmentExpressions
Direct Known Subclasses
AddAssign, Assign, BitAndAssign, BitOrAssign, BitXorAssign, DivideAssign, ModAssign, MultiplyAssign, ShiftLeftAssign, ShiftRightAssign, SubtractAssign
Constant Summary
Constants inherited from Node
Class Attribute Summary collapse
-
.operator ⇒ Object
The operator (a String) pertaining to the class (e.g., Assign.operator is '=').
Attributes inherited from Node
Method Summary
Methods inherited from Expression
Methods inherited from Node
#==, #=~, abstract, add_field, #assert_invariants, #attached?, child, #clone, #depth_first, #detach, #detached?, #dup, #each, #eql?, field, #fields, fields, #hash, inherited, initializer, #insert_next, #insert_prev, #inspect, inspect1, #list_next, #list_prev, #match?, #method_missing, new_at, #next, #node_after, #node_before, #postorder, #preorder, #prev, #remove_node, #replace_node, #replace_with, #reverse_depth_first, #reverse_each, #reverse_postorder, #reverse_preorder, subclasses_recursive, #swap_with
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class C::Node
Class Attribute Details
.operator ⇒ Object
The operator (a String) pertaining to the class (e.g., Assign.operator is '=').
591 592 593 |
# File 'lib/cast/c_nodes.rb', line 591 def operator @operator end |