Class: Trxl::NilRejectingOperator

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Includes:
BinaryOperatorSupport
Defined in:
lib/trxl/trxl.rb

Instance Method Summary collapse

Methods included from BinaryOperatorSupport

#apply, #nils_allowed?, #perform_apply, #ruby_operator

Instance Method Details

#lhs_nil_allowed?Boolean

Returns:

  • (Boolean)


239
240
241
# File 'lib/trxl/trxl.rb', line 239

def lhs_nil_allowed?
  false
end

#rhs_nil_allowed?Boolean

Returns:

  • (Boolean)


243
244
245
# File 'lib/trxl/trxl.rb', line 243

def rhs_nil_allowed?
  false
end