class BELParser::Language::Semantics::SemanticsInvalidSequencePositionWarning
Public Class Methods
new(expression_node, spec)
click to toggle source
Calls superclass method
# File lib/bel_parser/language/semantics_ast_warnings.rb, line 169 def initialize(expression_node, spec) super(expression_node, spec) end
Public Instance Methods
to_s()
click to toggle source
# File lib/bel_parser/language/semantics_ast_warnings.rb, line 173 def to_s pos = @expression_node.children[0].string_literal %(Sequence position of "#{pos}" is not a positive number.) end