Class: BELParser::Language::Semantics::SemanticsMissingEncodingWarning
- Inherits:
-
SemanticsWarning
- Object
- SemanticsResult
- SemanticsWarning
- BELParser::Language::Semantics::SemanticsMissingEncodingWarning
- Defined in:
- lib/bel_parser/language/semantics_ast_warnings.rb
Instance Attribute Summary
Attributes inherited from SemanticsResult
#expression_node, #specification
Instance Method Summary collapse
-
#initialize(expression_node, spec) ⇒ SemanticsMissingEncodingWarning
constructor
A new instance of SemanticsMissingEncodingWarning.
- #to_s ⇒ Object
Methods inherited from SemanticsWarning
Methods inherited from SemanticsResult
Constructor Details
#initialize(expression_node, spec) ⇒ SemanticsMissingEncodingWarning
Returns a new instance of SemanticsMissingEncodingWarning.
87 88 89 |
# File 'lib/bel_parser/language/semantics_ast_warnings.rb', line 87 def initialize(expression_node, spec) super(expression_node, spec) end |
Instance Method Details
#to_s ⇒ Object
91 92 93 94 |
# File 'lib/bel_parser/language/semantics_ast_warnings.rb', line 91 def to_s value = @expression_node.children[0].string_literal %(Missing encoding for value "#{value}".) end |