class WAB::Impl::Expr
The base class for expression that are used in the TQL where and filter clauses.
Public Class Methods
new()
click to toggle source
# File lib/wab/impl/expr.rb, line 8 def initialize() end
Public Instance Methods
eval(_data)
click to toggle source
Evaluate the expression using the supplied WAB::Data
object. Each expression subclass evaluates differently.
- data
-
data object to evaluate against.
# File lib/wab/impl/expr.rb, line 15 def eval(_data) false end
native()
click to toggle source
Return a native Ruby representation of the expression.
# File lib/wab/impl/expr.rb, line 20 def native() [] end