Class: Dhall::ExpressionResolver::FallbackResolver

Inherits:
Dhall::ExpressionResolver show all
Defined in:
lib/dhall/resolve.rb

Instance Method Summary collapse

Methods inherited from Dhall::ExpressionResolver

for, #initialize, register_for

Constructor Details

This class inherits a constructor from Dhall::ExpressionResolver

Instance Method Details

#resolve(**kwargs) ⇒ Object



319
320
321
322
323
# File 'lib/dhall/resolve.rb', line 319

def resolve(**kwargs)
  ExpressionResolver.for(@expr.lhs).resolve(**kwargs).catch do
    ExpressionResolver.for(@expr.rhs).resolve(**kwargs)
  end
end