public class BlockContent extends Object
| Constructor and Description |
|---|
BlockContent() |
BlockContent(BlockContent other,
int startLine,
int lineIndent) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BasedSequence lineWithEOL,
int lineIndent) |
void |
addAll(List<BasedSequence> lines,
List<Integer> lineIndents) |
BasedSequence |
getContents() |
BasedSequence |
getContents(int startLine,
int endLine) |
int |
getEndOffset() |
BasedSequence |
getLine(int line) |
int |
getLineCount() |
int |
getLineIndent() |
List<Integer> |
getLineIndents() |
List<BasedSequence> |
getLines() |
int |
getSourceLength() |
BasedSequence |
getSpanningChars() |
int |
getStartOffset() |
String |
getString() |
boolean |
hasSingleLine() |
BlockContent |
subContents(int startLine,
int endLine) |
public BlockContent()
public BlockContent(BlockContent other, int startLine, int lineIndent)
public BasedSequence getLine(int line)
public BasedSequence getSpanningChars()
public List<BasedSequence> getLines()
public int getLineCount()
public int getStartOffset()
public int getEndOffset()
public int getLineIndent()
public int getSourceLength()
public void add(BasedSequence lineWithEOL, int lineIndent)
public void addAll(List<BasedSequence> lines, List<Integer> lineIndents)
public boolean hasSingleLine()
public BasedSequence getContents()
public BlockContent subContents(int startLine, int endLine)
public BasedSequence getContents(int startLine, int endLine)
public String getString()
Copyright © 2019. All rights reserved.