Class: BELParser::Script::ApplyResourceURI

Inherits:
Object
  • Object
show all
Includes:
AST::Processor::Mixin
Defined in:
lib/bel_parser/script/apply_resource_uri.rb

Overview

ApplyResourceURI applies the uri property to Parsers::AST::AnnotationDefinition and Parsers::AST::NamespaceDefinition child nodes.

Instance Method Summary collapse

Methods included from AST::Processor::Mixin

#handler_missing, #process, #process_all

Instance Method Details

#on_annotation_definition(node) ⇒ Object



9
10
11
# File 'lib/bel_parser/script/apply_resource_uri.rb', line 9

def on_annotation_definition(node)
  update_uri_property(node)
end

#on_namespace_definition(node) ⇒ Object



13
14
15
# File 'lib/bel_parser/script/apply_resource_uri.rb', line 13

def on_namespace_definition(node)
  update_uri_property(node)
end