class BELParser::Script::Syntax::UndefinedAnnotationValueWarning

UndefinedAnnotationValueWarning represents an undefined annotation value while checking a SET annotation.

Attributes

prefix[R]

Gets the prefix.

value[R]

Gets the undefined annotation value.

Public Class Methods

new(set_node, prefix, value) click to toggle source
# File lib/bel_parser/script/syntax/undefined_annotation_value.rb, line 74
def initialize(set_node, prefix, value)
  super(set_node, nil)
  @prefix = prefix
  @value  = value
end

Public Instance Methods

msg() click to toggle source
# File lib/bel_parser/script/syntax/undefined_annotation_value.rb, line 80
def msg
  %(Undefined annotation value "#@value" for annotation "#@prefix".)
end