void
|
append(String str, ItemClassIdentifiers classId)
|
void
|
append(String s)
|
void
|
append(String s, int[] aActualInsertionIndex)
Append a chunk of text to the current line.
|
void
|
appendAndRecord(String s, ItemClassIdentifiers classId, long itemId, int flags)
Append a chunk of text to the current line.
|
void
|
appendAndRecord(String s, ItemClassIdentifiers classId, long itemId)
Append a chunk of text to the current line.
|
void
|
appendAndRecord(String s, ItemClassIdentifiers classId)
Append a chunk of text to the current line.
|
void
|
appendComment(String text, boolean auto)
|
void
|
appendComment(String text)
|
void
|
appendCommentAuto(String text)
|
void
|
appendKeyword(int id)
|
void
|
appendKeyword(String keyword)
Convenience method.
|
void
|
appendKeyword(String keyword, long itemId)
|
void
|
appendMulti(String s)
|
void
|
appendParameterSeparator()
Append a parameter separator to the current line.
|
void
|
brace()
|
void
|
braceClose()
|
void
|
bracket()
|
void
|
bracketClose()
|
void
|
decrementIndentationLevel()
|
void
|
disablePadding()
|
void
|
enablePadding()
|
static
boolean
|
enableTokenFlattening(boolean enabled)
Enable or disable token flattening.
|
void
|
eol()
End the current line.
|
void
|
eol(ICodeCoordinates lineCoord)
End the current line.
|
String
|
format()
|
List<CodeAnchor>
|
getAnchors()
Get the anchors within that part.
|
CodeAnchor
|
getCurrentAnchor()
Get the currently active anchor.
|
ICodeCoordinates
|
getCurrentCoordinates()
|
CodeLine
|
getCurrentLine()
Get the last (unfinished) line
|
ICodeCoordinates
|
getCurrentLineCoordinates()
|
int
|
getCurrentLineIndex()
|
int
|
getCurrentLineLength()
|
int
|
getCurrentMarginLength()
|
ICodeCoordinates
|
getCurrentMostPreciseCodeCoordinates()
|
int
|
getIndentationLevel()
|
String
|
getIndentationString()
|
int
|
getLastLineIndex()
Get the index of the last finished line.
|
CodeLine
|
getLine(int index)
|
int
|
getLineCount()
Get the number of finished (EOL-terminated) lines in this part.
|
List<CodeLine>
|
getLines()
Get the lines within that part.
|
List<ObjectLocation>
|
getObjectLocations()
Retrieve the list of objects represented in the part, as well as their locations (line
start/end, column start/end).
|
void
|
incrementIndentationLevel()
|
void
|
indentReset()
|
boolean
|
isCurrentLineEmpty()
|
void
|
markCurrentPosition(String name, Object object)
|
boolean
|
moveLastLine(int newIndex)
|
boolean
|
moveLine(int index, int newIndex)
|
void
|
paren()
|
void
|
parenClose()
|
void
|
prependCodePart(CodeDocumentPart part)
|
void
|
recordCurrentCoordinates(ICodeCoordinates coordinates)
|
void
|
recordLineCoordinates(ICodeCoordinates coordinates)
|
void
|
recordObjectLocation(Object object, boolean begin, int depth)
|
boolean
|
registerAnchor(String name)
Create an anchor using the current (next) anchor id, and register it at the current last
line.
|
boolean
|
registerAnchor(long anchorId, String name)
Create an anchor with the provided anchor id, and register it at the current last line.
|
int
|
registerKeyword(String keyword)
Register a keyword for future fast appending.
|
void
|
resetPaddingString()
|
void
|
setIndentationLevel(int level)
|
void
|
setIndentationString(String indentString)
|
void
|
setPaddingString(String paddingString)
|
void
|
setParameterSeparator(String parameterSeparator)
Set the parameter separator.
|
void
|
space()
Append a space to the current line.
|
void
|
space(int cnt)
Append one or more spaces to the current line.
|
String
|
toString()
|
void
|
unrecordCurrentCoordinates()
|
void
|
unrecordLineCoordinates()
|
void
|
validate()
|