- Defined in:
ASTTransformer class is designed to handle the abstract syntax trees that Sequel uses internally and produce modified copies of them. By itself it only produces a straight copy. It's designed to be subclassed and have subclasses returned modified copies of the specific nodes that need to be modified.
Direct Known Subclasses
Instance Method Summary collapse
#transform(obj) ⇒ Object
objor a potentially transformed version of it.
Instance Method Details
obj or a potentially transformed version of it.
11 12 13
# File 'lib/sequel/ast_transformer.rb', line 11 def transform(obj) v(obj) end