Java 类com.intellij.psi.formatter.common.InjectedLanguageBlockWrapper 实例源码

项目:intellij-ce-playground    文件:AnotherLanguageBlockWrapper.java   
public AnotherLanguageBlockWrapper(final ASTNode node,
                                   final XmlFormattingPolicy policy,
                                   final Block original, final Indent indent,
                                   final int offset,
                                   @Nullable TextRange range) {
  super(node, original.getWrap(), original.getAlignment(), policy, false);
  myInjectedBlock = new InjectedLanguageBlockWrapper(original, offset, range, null);
  myIndent = indent;
}
项目:tools-idea    文件:AnotherLanguageBlockWrapper.java   
public AnotherLanguageBlockWrapper(final ASTNode node,
                                   final XmlFormattingPolicy policy,
                                   final Block original, final Indent indent,
                                   final int offset,
                                   @Nullable TextRange range) {
  super(node, original.getWrap(), original.getAlignment(), policy, false);
  myInjectedBlock = new InjectedLanguageBlockWrapper(original, offset, range, null);
  myIndent = indent;
}
项目:consulo-xml    文件:AnotherLanguageBlockWrapper.java   
public AnotherLanguageBlockWrapper(final ASTNode node,
                                   final XmlFormattingPolicy policy,
                                   final Block original, final Indent indent,
                                   final int offset,
                                   @Nullable TextRange range) {
  super(node, original.getWrap(), original.getAlignment(), policy, false);
  myInjectedBlock = new InjectedLanguageBlockWrapper(original, offset, range, null);
  myIndent = indent;
}