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.0.0.alpha.23 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.22 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.21 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.20 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.19 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.18 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.17 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.16 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.15 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.14 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.13 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.12 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.11 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.10 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.9 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.8 lib/bel_parser/language/semantics_function.rb