Class BlockContent


  • public class BlockContent
    extends java.lang.Object
    • Constructor Detail

      • BlockContent

        public BlockContent()
      • BlockContent

        public BlockContent​(@NotNull
                            BlockContent other,
                            int startLine,
                            int lineIndent)
    • Method Detail

      • getSpanningChars

        @NotNull
        public BasedSequence getSpanningChars()
      • getLines

        @NotNull
        public java.util.List<BasedSequence> getLines()
      • getLineIndents

        @NotNull
        public java.util.List<java.lang.Integer> getLineIndents()
      • getLineCount

        public int getLineCount()
      • getStartOffset

        public int getStartOffset()
      • getEndOffset

        public int getEndOffset()
      • getLineIndent

        public int getLineIndent()
      • getSourceLength

        public int getSourceLength()
      • add

        public void add​(@NotNull
                        BasedSequence lineWithEOL,
                        int lineIndent)
      • addAll

        public void addAll​(@NotNull
                           java.util.List<BasedSequence> lines,
                           java.util.List<java.lang.Integer> lineIndents)
      • hasSingleLine

        public boolean hasSingleLine()
      • subContents

        @NotNull
        public BlockContent subContents​(int startLine,
                                        int endLine)
      • getContents

        @NotNull
        public BasedSequence getContents​(int startLine,
                                         int endLine)
      • getString

        @NotNull
        public java.lang.String getString()