Java 类org.eclipse.xtext.parsetree.reconstr.IHiddenTokenHelper 实例源码

项目:xtext-core    文件:FormattingConfigBasedStream.java   
public FormattingConfigBasedStream(ITokenStream out, String initialIndentation, FormattingConfig cfg,
        IElementMatcher<ElementPattern> matcher, IHiddenTokenHelper hiddenTokenHelper, boolean preserveSpaces) {
    super(out);
    this.cfg = cfg;
    this.matcher = matcher;
    this.hiddenTokenHelper = hiddenTokenHelper;
    this.preserveSpaces = preserveSpaces;
    this.indentationPrefix = initialIndentation == null ? "" : initialIndentation;
}
项目:xtext-core    文件:FormattingConfig.java   
/**
 * @deprecated use {@link FormattingConfig2} instead
 */
@Deprecated
public FormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper,
        IIndentationInformation indentInfo) {
    super(grammarAccess, hiddenTokenHelper);
    this.indentInfo = indentInfo;
}
项目:dsl-devkit    文件:ExtendedFormattingConfigBasedStream.java   
public ExtendedFormattingConfigBasedStream(final ITokenStream out, final String indentation, final FormattingConfig cfg, final IElementMatcher<ElementPattern> matcher,
                                      final IHiddenTokenHelper hiddenTokenHelper, final boolean preserveSpaces, final AbstractExtendedFormatter formatter) {
// @Format-On
  super(out, indentation, cfg, matcher, hiddenTokenHelper, preserveSpaces);
  this.storedPreserveSpacesValue = preserveSpaces;
  this.formatter = formatter;
  this.noFormatMemento = new NoFormatLocator(cfg);
}
项目:n4js    文件:N4JSRuntimeModule.java   
/**
 * adds EOL to white spaces
 */
public Class<? extends IHiddenTokenHelper> bindIHiddenTokenHelper() {
    return N4JSHiddenTokenHelper.class;
}
项目:xtext-core    文件:AbstractFormattingConfig.java   
public AbstractFormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper) {
    super();
    this.grammarAccess = grammarAccess;
    this.hiddenTokenHelper = hiddenTokenHelper;
}
项目:xtext-core    文件:FormattingConfig2.java   
public FormattingConfig2(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper,
        IIndentationInformation indentInfo, ILineSeparatorInformation lineSeparatorInfo) {
    super(grammarAccess, hiddenTokenHelper, indentInfo);
    this.lineSeparatorInfo = lineSeparatorInfo;
}
项目:xtext-core    文件:AbstractDeclarativeFormatter.java   
protected IHiddenTokenHelper getHiddenTokenHelper() {
    return hiddenTokenHelper;
}
项目:dsl-devkit    文件:ExtendedFormattingConfigBasedStream.java   
public IHiddenTokenHelper getHiddenTokenHelper() {
  return hiddenTokenHelper;
}
项目:dsl-devkit    文件:WrapEntry.java   
/**
 * Instantiates a new wrap entry.
 *
 * @param hiddenTokenHelper
 *          the hidden token helper
 * @param line
 *          the line
 * @param entry
 *          the entry
 */
public WrapEntry(final IHiddenTokenHelper hiddenTokenHelper, final ExtendedLine line, final ExtendedLineEntry entry) {
  this.entry = entry;
  this.hiddenTokenHelper = hiddenTokenHelper;
  this.line = line;
}
项目:dsl-devkit    文件:SpaceEntry.java   
/**
 * Instantiates a new space entry.
 *
 * @param hiddenTokenHelper
 *          the hidden token helper
 * @param line
 *          the line
 * @param entry
 *          the entry
 */
public SpaceEntry(final IHiddenTokenHelper hiddenTokenHelper, final ExtendedLine line, final ExtendedLineEntry entry) {
  this.entry = entry;
  this.hiddenTokenHelper = hiddenTokenHelper;
  this.line = line;
}
项目:dsl-devkit    文件:ExtendedFormattingConfig.java   
/**
 * 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);
}