class Sequel::ASTTransformer

  1. lib/sequel/ast_transformer.rb
Superclass: Object

The 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.

Methods

Public Instance

  1. transform

Public Instance methods

transform (obj)

Return obj or a potentially transformed version of it.

[show source]
# File lib/sequel/ast_transformer.rb, line 10
def transform(obj)
  v(obj)
end