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