项目:xtext-extras
文件:FormatterFragment.java
@Override
public Set<Binding> getGuiceBindingsRt(Grammar grammar) {
if(isGenerateStub())
return new BindFactory().addTypetoType(IFormatter.class.getName(),getFormatterName(grammar,getNaming()))
.getBindings();
else
return emptySet();
}
项目:dsl-devkit
文件:FormatFragment.java
/** {@inheritDoc} */
@Override
public Set<Binding> getGuiceBindingsRt(final Grammar grammar) {
final BindFactory bindFactory = new BindFactory();
bindFactory.addTypetoType(IFormatter.class.getName(),FormatGeneratorUtil.getFormatterName(grammar,""));
bindFactory.addTypetoType(INodeModelFormatter.class.getName(),RegionNodeModelFormatter.class.getName());
bindFactory.addTypetoType(INodeModelStreamer.class.getName(),DirectNodeModelStreamer.class.getName());
return bindFactory.getBindings();
}
public Class<? extends IFormatter> bindIFormatter() {
return org.eclipse.cmf.occi.core.xtext.formatting.OCCIFormatter.class;
}
项目:xtext-extras
文件:XbaseRuntimeModule.java
@Deprecated
@Override
public Class<? extends IFormatter> bindIFormatter() {
return XbaseFormatter.class;
}
项目:minitl
文件:AbstractMinitlRuntimeModule.java
public Class<? extends IFormatter> bindIFormatter() {
return MinitlFormatter.class;
}
项目:xtext-core
文件:Serializer.java
@Inject
public Serializer(IParseTreeConstructor ptc,IFormatter fmt,IConcreteSyntaxValidator val) {
this.parseTreeReconstructor = ptc;
this.formatter = fmt;
this.validator = val;
}
项目:xtext-core
文件:Serializer.java
protected IFormatter getFormatter() {
return formatter;
}
项目:xtext-core
文件:DefaultRuntimeModule.java
public Class<? extends IFormatter> bindIFormatter() {
return OneWhitespaceFormatter.class;
}
项目:xtext-core
文件:XtextRuntimeModule.java
@Override
public Class<? extends IFormatter> bindIFormatter() {
return Xtextformatter.class;
}
项目:xtext-core
文件:FormatterTestLanguageRuntimeModule.java
@Override
public Class<? extends IFormatter> bindIFormatter() {
return FormatterTestConfig.class;
}
项目:dsl-devkit
文件:FormatterTestLanguageRuntimeModule.java
/** {@inheritDoc} */
@Override
public Class<? extends IFormatter> bindIFormatter() {
return FormatterTestConfig.class;
}
项目:DialogScriptDSL
文件:DialogScriptRuntimeModule.java
@Override
public Class<? extends IFormatter> bindIFormatter() {
return DialogScriptFormatter.class;
}
项目:smaccm
文件:AbstractInputConstraintRuntimeModule.java
public Class<? extends IFormatter> bindIFormatter() {
return InputConstraintFormatter.class;
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。