class Safrano::Filter::BinopTree
Bin ops
Bin ops
Public Class Methods
new(val)
click to toggle source
Calls superclass method
Safrano::Filter::Tree::new
# File lib/odata/filter/tree.rb, line 228 def initialize(val) @state = :open super(val.downcase.to_sym) end
Public Instance Methods
update_state(_tok, typ)
click to toggle source
# File lib/odata/filter/tree.rb, line 233 def update_state(_tok, typ) case typ when :Literal, :NullLiteral, :Qualit, :QString, :FuncTree, :BinopBool, :BinopArithm, :UnopTree, :FPNumber @state = :closed end end