• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java IGenerator2类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.eclipse.xtext.generator.IGenerator2的典型用法代码示例。如果您正苦于以下问题:Java IGenerator2类的具体用法?Java IGenerator2怎么用?Java IGenerator2使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IGenerator2类属于org.eclipse.xtext.generator包,在下文中一共展示了IGenerator2类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return PkmntcgoGenerator.class;
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:4,代码来源:AbstractPkmntcgoRuntimeModule.java


示例2: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return RegularExpressionGenerator.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractRegularExpressionRuntimeModule.java


示例3: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return MyDslGenerator.class;
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:4,代码来源:AbstractMyDslRuntimeModule.java


示例4: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return BromiumGenerator.class;
}
 
开发者ID:hristo-vrigazov,项目名称:bromium,代码行数:4,代码来源:AbstractBromiumRuntimeModule.java


示例5: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return LcDslGenerator.class;
}
 
开发者ID:mduft,项目名称:lcdsl,代码行数:4,代码来源:AbstractLcDslRuntimeModule.java


示例6: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return DslGenerator.class;
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:4,代码来源:AbstractDslRuntimeModule.java


示例7: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return RestauranteGenerator.class;
}
 
开发者ID:vicegd,项目名称:org.xtext.dsl.restaurante,代码行数:4,代码来源:AbstractRestauranteRuntimeModule.java


示例8: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return OCCIGenerator.class;
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:4,代码来源:AbstractOCCIRuntimeModule.java


示例9: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return MinitlGenerator.class;
}
 
开发者ID:tetrabox,项目名称:minitl,代码行数:4,代码来源:AbstractMinitlRuntimeModule.java


示例10: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return PartialContentAssistTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractPartialContentAssistTestLanguageRuntimeModule.java


示例11: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return PartialSerializationTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractPartialSerializationTestLanguageRuntimeModule.java


示例12: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return IndentationAwareUiTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractIndentationAwareUiTestLanguageRuntimeModule.java


示例13: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return TestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractTestLanguageRuntimeModule.java


示例14: generate

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
@Override
public void generate() {
  boolean _isGenerateStub = this.isGenerateStub();
  if (_isGenerateStub) {
    new GuiceModuleAccess.BindingFactory().addTypeToType(TypeReference.typeRef(IGenerator2.class), this.getGeneratorStub(this.getLanguage().getGrammar())).contributeTo(this.getLanguage().getRuntimeGenModule());
    ManifestAccess _manifest = this.getProjectConfig().getRuntime().getManifest();
    boolean _tripleNotEquals = (_manifest != null);
    if (_tripleNotEquals) {
      Set<String> _requiredBundles = this.getProjectConfig().getRuntime().getManifest().getRequiredBundles();
      String _xbaseLibVersionLowerBound = this.getProjectConfig().getRuntime().getXbaseLibVersionLowerBound();
      String _plus = ("org.eclipse.xtext.xbase.lib;bundle-version=\"" + _xbaseLibVersionLowerBound);
      String _plus_1 = (_plus + "\"");
      _requiredBundles.add(_plus_1);
    }
    boolean _isGenerateXtendStub = this.isGenerateXtendStub();
    if (_isGenerateXtendStub) {
      this.doGenerateXtendStubFile();
    } else {
      this.doGenerateJavaStubFile();
    }
  }
  if ((this.isGenerateStub() || this.isGenerateJavaMain())) {
    ManifestAccess _manifest_1 = this.getProjectConfig().getRuntime().getManifest();
    boolean _tripleNotEquals_1 = (_manifest_1 != null);
    if (_tripleNotEquals_1) {
      Set<String> _exportedPackages = this.getProjectConfig().getRuntime().getManifest().getExportedPackages();
      String _packageName = this.getGeneratorStub(this.getLanguage().getGrammar()).getPackageName();
      _exportedPackages.add(_packageName);
    }
  }
  boolean _isGenerateJavaMain = this.isGenerateJavaMain();
  if (_isGenerateJavaMain) {
    this.doGenerateJavaMain();
  }
  boolean _isGenerateXtendMain = this.isGenerateXtendMain();
  if (_isGenerateXtendMain) {
    this.doGenerateXtendMain();
  }
  boolean _isGenerateMwe = this.isGenerateMwe();
  if (_isGenerateMwe) {
    this.doGenerateMweFile();
  }
  this.contributeEclipsePluginGuiceBindings();
  ManifestAccess _manifest_2 = this.getProjectConfig().getEclipsePlugin().getManifest();
  boolean _tripleNotEquals_2 = (_manifest_2 != null);
  if (_tripleNotEquals_2) {
    Set<String> _requiredBundles_1 = this.getProjectConfig().getEclipsePlugin().getManifest().getRequiredBundles();
    _requiredBundles_1.add("org.eclipse.xtext.builder");
  }
  PluginXmlAccess _pluginXml = this.getProjectConfig().getEclipsePlugin().getPluginXml();
  boolean _tripleNotEquals_3 = (_pluginXml != null);
  if (_tripleNotEquals_3) {
    this.contributeEclipsePluginExtensions();
  }
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:56,代码来源:GeneratorFragment2.java


示例15: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return FileAwareTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractFileAwareTestLanguageRuntimeModule.java


示例16: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return NoJdtTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:AbstractNoJdtTestLanguageRuntimeModule.java


示例17: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return IndexTestLanguageGenerator.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:IndexTestLanguageRuntimeModule.java


示例18: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return ModelEditorGenerator.class;
}
 
开发者ID:ioanaverebi,项目名称:Sparrow,代码行数:4,代码来源:AbstractModelEditorRuntimeModule.java


示例19: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return UsecaseGenerator.class;
}
 
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:4,代码来源:AbstractUsecaseRuntimeModule.java


示例20: bindIGenerator2

import org.eclipse.xtext.generator.IGenerator2; //导入依赖的package包/类
public Class<? extends IGenerator2> bindIGenerator2() {
	return DDLGenerator.class;
}
 
开发者ID:adolfosbh,项目名称:cs2as,代码行数:4,代码来源:AbstractDDLRuntimeModule.java



注:本文中的org.eclipse.xtext.generator.IGenerator2类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java MultiMap类代码示例发布时间:2022-05-21
下一篇:
Java SseFeature类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap