class BELParser::Language::Semantics::SemanticsInvalidFunctionWarning
Public Class Methods
new(expression_node, spec, expected_functions)
click to toggle source
Calls superclass method
# File lib/bel_parser/language/semantics_ast_warnings.rb, line 110 def initialize(expression_node, spec, expected_functions) super(expression_node, spec) @expected_functions = expected_functions end
Public Instance Methods
to_s()
click to toggle source
# File lib/bel_parser/language/semantics_ast_warnings.rb, line 115 def to_s function = @expression_node.string_literal %(Function of "#{function}" does not match expected: #{@expected_functions.join(', ')}) end