OxstsFormatter

open class OxstsFormatter : AbstractJavaFormatter

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val request: FormatterRequest

Functions

Link copied to clipboard
open fun createCommentReplacer(comment: IComment): ITextReplacer
Link copied to clipboard
open fun createFormattableRootDocument(): IFormattableDocument
Link copied to clipboard
open fun createFormattableSubDocument(region: ITextSegment, parent: IFormattableDocument): IFormattableSubDocument
Link copied to clipboard
open fun createHiddenRegionFormatter(formatting: IHiddenRegionFormatting): IHiddenRegionFormatter
Link copied to clipboard
open fun createHiddenRegionFormatting(): IHiddenRegionFormatting
Link copied to clipboard
open fun createHiddenRegionFormattingMerger(): IMerger<IHiddenRegionFormatting>
Link copied to clipboard
open fun createHiddenRegionReplacer(region: IHiddenRegion, formatting: IHiddenRegionFormatting): ITextReplacer
Link copied to clipboard
open fun createTextReplacerContext(document: IFormattableDocument): ITextReplacerContext
Link copied to clipboard
open fun createTextReplacerMerger(): IMerger<ITextReplacer>
Link copied to clipboard
open fun createWhitespaceReplacer(hiddens: ITextSegment, formatting: IHiddenRegionFormatting): ITextReplacer
Link copied to clipboard
open fun format(object: Any, document: IFormattableDocument)
fun format(request: FormatterRequest): List<ITextReplacement>
Link copied to clipboard
open fun <T> getPreference(key: TypedPreferenceKey<T>): T
Link copied to clipboard
open fun getPreferences(): ITypedPreferenceValues
Link copied to clipboard
open fun getTextRegionAccess(): ITextRegionAccess
Link copied to clipboard
open fun shouldFormat(obj: Any, document: IFormattableDocument): Boolean