Sha256: 99afdf47db1531f6bbe6a290289488ad2bcb4a13cc0bb44649d2044e6f6c9359

Contents?: true

Size: 538 Bytes

Versions: 116

Compression:

Stored size: 538 Bytes

Contents

module BELParser
  module Language
    module Semantics
      # SemanticsFunction provides a {#map} function that maps a
      # {BELParser::Parsers::AST::Node} to one or more
      # {SemanticsResult semantics results}.
      module SemanticsFunction
        # @abstract Include {SemanticsFunction} and override {#map} to check
        # term semantics (e.g. signatures).
        def self.map(_term_ast, _spec, _namespaces)
          raise NotImplementedError, "#{__method__} is not implemented."
        end
      end
    end
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
bel_parser-1.1.6-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.6 lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.5 lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.4-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.4 lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.3-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.3 lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.2-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.2 lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.1-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.1.1 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.8-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.8 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.7-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.7 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.6-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.6 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.5-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.5 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.4-java lib/bel_parser/language/semantics_function.rb