项目: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;
}