module BELParser::Language::Semantics::SemanticsFunction
SemanticsFunction
provides a {#map} function that maps a {BELParser::Parsers::AST::Node} to one or more {SemanticsResult semantics results}.
Public Class Methods
map(_term_ast, _spec, _namespaces)
click to toggle source
@abstract Include {SemanticsFunction} and override {#map} to check term semantics (e.g. signatures).
# File lib/bel_parser/language/semantics_function.rb, line 10 def self.map(_term_ast, _spec, _namespaces) raise NotImplementedError, "#{__method__} is not implemented." end