Class: Fabulator::Expr::BoolBinExpr

Inherits:
BinExpr
  • Object
show all
Defined in:
lib/fabulator/expr/bin_expr.rb

Direct Known Subclasses

AndExpr, EqExpr, LtExpr, LteExpr, NeqExpr, OrExpr

Instance Method Summary collapse

Methods inherited from BinExpr

#initialize, #run

Constructor Details

This class inherits a constructor from Fabulator::Expr::BinExpr

Instance Method Details

#expr_type(context) ⇒ Object



70
71
72
# File 'lib/fabulator/expr/bin_expr.rb', line 70

def expr_type(context)
  [ FAB_NS, 'boolean' ]
end

#result_type(t) ⇒ Object



74
75
76
# File 'lib/fabulator/expr/bin_expr.rb', line 74

def result_type(t)
  [ FAB_NS, 'boolean' ]
end