Class: Rubinius::AST::Node::TransformState
- Inherits:
-
Object
- Object
- Rubinius::AST::Node::TransformState
- Defined in:
- lib/compiler/ast/node.rb
Overview
Manage the state of the #transform method.
Instance Method Summary collapse
Instance Method Details
#initialized ⇒ Object
211 212 213 |
# File 'lib/compiler/ast/node.rb', line 211 def initialized @modified = false end |
#modified? ⇒ Boolean
215 216 217 |
# File 'lib/compiler/ast/node.rb', line 215 def modified? @modified end |
#modify ⇒ Object
219 220 221 |
# File 'lib/compiler/ast/node.rb', line 219 def modify @modified = true end |
#unmodify ⇒ Object
223 224 225 |
# File 'lib/compiler/ast/node.rb', line 223 def unmodify @modified = false end |