Sha256: dd620280a7331d0b1c4611589f6533840079e56c94ea6f26991b6fac18d30b1c

Contents?: true

Size: 585 Bytes

Versions: 39

Compression:

Stored size: 585 Bytes

Contents

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

module Cxxproject

  AliasLanguage =
  RText::Language.new(AliasModel.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|
      ["hdd_name", "logical_name"]
    },
    :line_number_attribute => "line_number",
    :file_name_attribute => "file_name"
  )

end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
bake-toolkit-1.8.0.1 lib/alias/model/language.rb
bake-toolkit-1.7.0 lib/alias/model/language.rb
bake-toolkit-1.6.3 lib/alias/model/language.rb
bake-toolkit-1.6.2 lib/alias/model/language.rb
bake-toolkit-1.6.1 lib/alias/model/language.rb
bake-toolkit-1.6.0 lib/alias/model/language.rb
bake-toolkit-1.5.0 lib/alias/model/language.rb
bake-toolkit-1.4.0 lib/alias/model/language.rb
bake-toolkit-1.3.0 lib/alias/model/language.rb
bake-toolkit-1.2.1 lib/alias/model/language.rb
bake-toolkit-1.2.0 lib/alias/model/language.rb
bake-toolkit-1.1.0 lib/alias/model/language.rb
bake-toolkit-1.0.27 lib/alias/model/language.rb
bake-toolkit-1.0.26 lib/alias/model/language.rb
bake-toolkit-1.0.25 lib/alias/model/language.rb
bake-toolkit-1.0.24 lib/alias/model/language.rb
bake-toolkit-1.0.23 lib/alias/model/language.rb
bake-toolkit-1.0.22 lib/alias/model/language.rb
bake-toolkit-1.0.21 lib/alias/model/language.rb
bake-toolkit-1.0.20 lib/alias/model/language.rb