Sha256: 9147b79bbb5fdd0a1e49b446895151b54e5dc4dc01fc3b84a4276cbfdea5ec3f

Contents?: true

Size: 561 Bytes

Versions: 42

Compression:

Stored size: 561 Bytes

Contents

require '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

42 entries across 42 versions & 1 rubygems

Version Path
bake-toolkit-2.20.4 lib/bakery/model/language.rb
bake-toolkit-2.20.3 lib/bakery/model/language.rb
bake-toolkit-2.20.2 lib/bakery/model/language.rb
bake-toolkit-2.20.1 lib/bakery/model/language.rb
bake-toolkit-2.19.2 lib/bakery/model/language.rb
bake-toolkit-2.19.1 lib/bakery/model/language.rb
bake-toolkit-2.19.0 lib/bakery/model/language.rb
bake-toolkit-2.18.0 lib/bakery/model/language.rb
bake-toolkit-2.17.4 lib/bakery/model/language.rb
bake-toolkit-2.17.3 lib/bakery/model/language.rb
bake-toolkit-2.17.2 lib/bakery/model/language.rb
bake-toolkit-2.17.1 lib/bakery/model/language.rb
bake-toolkit-2.16.1 lib/bakery/model/language.rb
bake-toolkit-2.15.0 lib/bakery/model/language.rb
bake-toolkit-2.14.0 lib/bakery/model/language.rb
bake-toolkit-2.13.1 lib/bakery/model/language.rb
bake-toolkit-2.13.0 lib/bakery/model/language.rb
bake-toolkit-2.12.2 lib/bakery/model/language.rb
bake-toolkit-2.12.1 lib/bakery/model/language.rb
bake-toolkit-2.12.0 lib/bakery/model/language.rb