class BELParser::Language::Syntax::UndefinedNamespaceValueWarning

UndefinedNamespaceValueWarning indicates a value is missing from a namespace.

Attributes

undefined_value[R]

Gets the undefined value.

Public Class Methods

new(value_node, spec, value) click to toggle source
Calls superclass method
# File lib/bel_parser/language/syntax/undefined_namespace_value.rb, line 31
def initialize(value_node, spec, value)
  super(value_node, spec)
  @value = value
end

Public Instance Methods

msg() click to toggle source
# File lib/bel_parser/language/syntax/undefined_namespace_value.rb, line 36
def msg
  prefix = @expression_node.prefix
  %(Undefined namespace value "#@value" for namespace "#{prefix}".)
end