Class: Trxl::NilAcceptingOperator

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)


253
254
255
# File 'lib/trxl/trxl.rb', line 253

def lhs_nil_allowed?
  true
end

#rhs_nil_allowed?Boolean

Returns:

  • (Boolean)


257
258
259
# File 'lib/trxl/trxl.rb', line 257

def rhs_nil_allowed?
  true
end