Sha256: 723d3a27850b0f4000bcf463d264e88ffabff566530a089962185cef8849112b

Contents?: true

Size: 554 Bytes

Versions: 48

Compression:

Stored size: 554 Bytes

Contents

require_relative '../../bake/model/metamodel'
require 'rtext/language'

module Bake

  BakeryLanguage =
  RText::Language.new(BakeryModel.ecore,
    :feature_provider => proc {|c|
      RGen::Serializer::OppositeReferenceFilter.call(c.eAllStructuralFeatures).reject {|f|
        f.eAnnotations.any? {|a|
          a.details.any? {|d| d.key == 'internal' && d.value == 'true'}
        }
      }
    },
    :unlabled_arguments => proc {|c|
      ["name"]
    },
    :line_number_attribute => "line_number",
    :file_name_attribute => "file_name"
  )

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
bake-toolkit-2.72.0 lib/bakery/model/language.rb
bake-toolkit-2.71.0 lib/bakery/model/language.rb
bake-toolkit-2.70.1 lib/bakery/model/language.rb
bake-toolkit-2.70.0 lib/bakery/model/language.rb
bake-toolkit-2.69.0 lib/bakery/model/language.rb
bake-toolkit-2.68.1 lib/bakery/model/language.rb
bake-toolkit-2.68.0 lib/bakery/model/language.rb
bake-toolkit-2.67.0 lib/bakery/model/language.rb
bake-toolkit-2.66.0 lib/bakery/model/language.rb
bake-toolkit-2.65.2 lib/bakery/model/language.rb
bake-toolkit-2.65.1 lib/bakery/model/language.rb
bake-toolkit-2.65.0 lib/bakery/model/language.rb
bake-toolkit-2.64.4 lib/bakery/model/language.rb
bake-toolkit-2.64.3 lib/bakery/model/language.rb
bake-toolkit-2.64.2 lib/bakery/model/language.rb
bake-toolkit-2.64.1 lib/bakery/model/language.rb
bake-toolkit-2.64.0 lib/bakery/model/language.rb
bake-toolkit-2.63.2 lib/bakery/model/language.rb
bake-toolkit-2.63.1 lib/bakery/model/language.rb
bake-toolkit-2.63.0 lib/bakery/model/language.rb