Class: Jade::Frontend::SemanticAnalysis::Error::MissingImplementationFunction
- Inherits:
-
Error
- Object
- Error
- Jade::Frontend::SemanticAnalysis::Error::MissingImplementationFunction
- Defined in:
- lib/jade/frontend/semantic_analysis/error/missing_implementation_function.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(entry, span, interface:, fn_name:) ⇒ MissingImplementationFunction
constructor
A new instance of MissingImplementationFunction.
- #message ⇒ Object
Methods inherited from Error
#candidates, #label, #notes, #queried_name, #to_diagnostic
Constructor Details
#initialize(entry, span, interface:, fn_name:) ⇒ MissingImplementationFunction
Returns a new instance of MissingImplementationFunction.
6 7 8 9 10 |
# File 'lib/jade/frontend/semantic_analysis/error/missing_implementation_function.rb', line 6 def initialize(entry, span, interface:, fn_name:) super(entry:, span:) @interface = interface @fn_name = fn_name end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/jade/frontend/semantic_analysis/error/missing_implementation_function.rb', line 12 def "Implementation of #{@interface} is missing required function `#{@fn_name}`" end |