protected IIndentationInformation getIndentInfo() { final IIndentationInformation _function = new IIndentationInformation() { public String getIndentString() { return " "; } }; return _function; }
/** * @deprecated use {@link FormattingConfig2} instead */ @Deprecated public FormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo) { super(grammarAccess, hiddenTokenHelper); this.indentInfo = indentInfo; }
public FormattingConfig2(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo, ILineSeparatorInformation lineSeparatorInfo) { super(grammarAccess, hiddenTokenHelper, indentInfo); this.lineSeparatorInfo = lineSeparatorInfo; }
protected IIndentationInformation getIndentInfo() { return whitespaceInformationProvider.getIndentationInformation(contextResourceURI); }
@Override protected IIndentationInformation getIndentInfo() { return indentInfo; }
public Class<? extends IIndentationInformation> bindIIndentationInformation() { return PreferenceStoreIndentationInformation.class; }
public IIndentationInformation getIndentationInformation(URI uri) { return indentInfo; }
/** * Instantiates a new AcfFormattingConfig. * * @param grammarAccess * the grammar access * @param hiddenTokenHelper * the hidden token helper * @param indentInfo * the indent info * @param lineSeparatorInfo * the line separator info */ public ExtendedFormattingConfig(final IGrammarAccess grammarAccess, final IHiddenTokenHelper hiddenTokenHelper, final IIndentationInformation indentInfo, final ILineSeparatorInformation lineSeparatorInfo) { super(grammarAccess, hiddenTokenHelper, indentInfo, lineSeparatorInfo); }