Class: FilterParam::AST::Literals::Null

Inherits:
FilterParam::AST::Literal show all
Includes:
Singleton
Defined in:
lib/filter_param/ast/literals/null.rb

Instance Attribute Summary

Attributes inherited from FilterParam::AST::Literal

#value

Instance Method Summary collapse

Methods inherited from FilterParam::AST::Literal

#initialize

Methods inherited from Node

#accept

Constructor Details

This class inherits a constructor from FilterParam::AST::Literal

Instance Method Details

#data_typeObject



9
10
11
# File 'lib/filter_param/ast/literals/null.rb', line 9

def data_type
  :null
end

#type_cast(type) ⇒ Object



13
14
15
# File 'lib/filter_param/ast/literals/null.rb', line 13

def type_cast(type)
  self
end