Class | Ruby2Ruby |
In: |
lib/ruby2ruby.rb
|
Parent: | SexpProcessor |
VERSION | = | '2.0.1' | ||
LINE_LENGTH | = | 78 | ||
BINARY | = | [:<=>, :==, :<, :>, :<=, :>=, :-, :+, :*, :/, :%, :<<, :>>, :**] | ||
ASSIGN_NODES | = | [ :dasgn, :flip2, :flip3, :lasgn, :masgn, :attrasgn, :op_asgn1, :op_asgn2, :op_asgn_and, :op_asgn_or, :return, :if, # HACK ] |
Nodes that represent assignment and probably need () around them.
TODO: this should be replaced with full precedence support :/ |