class BELParser::Language::Semantics::SemanticHasNamespace
Public Class Methods
new(**properties)
click to toggle source
Calls superclass method
BELParser::Language::Semantics::SemanticASTNode::new
# File lib/bel_parser/language/semantics_ast.rb, line 556 def initialize(**properties) super(:has_namespace, [], properties) end
Public Instance Methods
match(prefix, spec, will_match_partial = false)
click to toggle source
# File lib/bel_parser/language/semantics_ast.rb, line 560 def match(prefix, spec, will_match_partial = false) if prefix.respond_to?(:namespace) && prefix.namespace success(prefix, spec) else missing_namespace_warning(prefix, spec) end end