Class: Johnson::Nodes::ForIn
Instance Attribute Summary collapse
-
#in_cond ⇒ Object
Returns the value of attribute in_cond.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, column, in_cond, body) ⇒ ForIn
constructor
A new instance of ForIn.
Methods inherited from Node
#each, #to_dot, #to_ecma, #to_s, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(line, column, in_cond, body) ⇒ ForIn
Returns a new instance of ForIn.
6 7 8 9 |
# File 'lib/johnson/nodes/for_in.rb', line 6 def initialize(line, column, in_cond, body) super(line, column, body) @in_cond = in_cond end |
Instance Attribute Details
#in_cond ⇒ Object
Returns the value of attribute in_cond.
5 6 7 |
# File 'lib/johnson/nodes/for_in.rb', line 5 def in_cond @in_cond end |