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.36 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.35-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.35 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.34-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.34 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.32-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.32 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.31-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.31 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.30-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.30 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.29-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.29 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.28-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.28 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.27-java lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.27 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.26 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.25 lib/bel_parser/language/semantics_function.rb
bel_parser-1.0.0.alpha.24 lib/bel_parser/language/semantics_function.rb