Top Fields Constructors Methods
com.vladsch.flexmark.formatter.internal

public Class FormatControlProcessor

extends Object
Class Inheritance
Imports
com.vladsch.flexmark.ast.HtmlCommentBlock, .HtmlInnerBlockComment, .Paragraph, com.vladsch.flexmark.formatter.FormatterOptions, com.vladsch.flexmark.util.ast.Block, .Document, .Node, com.vladsch.flexmark.util.data.DataHolder, org.jetbrains.annotations.NotNull, .Nullable, java.util.regex.Pattern, .PatternSyntaxException

Field Summary

Modifier and TypeField and Description
public static final String
private volatile Pattern
private final String
private volatile Pattern
private final String
private boolean
private final boolean
private boolean
private boolean
private boolean
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable Pattern
public String
public @Nullable Pattern
public String
public boolean
public boolean
private @Nullable Pattern
public void
private @Nullable Boolean
public boolean
public boolean
private boolean
isFormattingRegion(int offset, @NotNull Node node, boolean checkParent)

public boolean
public boolean
public boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLOSE_COMMENTback to summary
public static final String CLOSE_COMMENT
formatterOffPatternback to summary
private volatile Pattern formatterOffPattern
formatterOffTagback to summary
private final String formatterOffTag
formatterOnPatternback to summary
private volatile Pattern formatterOnPattern
formatterOnTagback to summary
private final String formatterOnTag
formatterTagsAcceptRegexpback to summary
private boolean formatterTagsAcceptRegexp
formatterTagsEnabledback to summary
private final boolean formatterTagsEnabled
justTurnedOffFormattingback to summary
private boolean justTurnedOffFormatting
justTurnedOnFormattingback to summary
private boolean justTurnedOnFormatting
myFormatterOffback to summary
private boolean myFormatterOff
OPEN_COMMENTback to summary
public static final String OPEN_COMMENT

Constructor Detail

FormatControlProcessorback to summary
public FormatControlProcessor(@NotNull Document document, @Nullable DataHolder options)

Method Detail

getFormatterOffPatternback to summary
public @Nullable Pattern getFormatterOffPattern()
Annotations
@Nullable
getFormatterOffTagback to summary
public String getFormatterOffTag()
getFormatterOnPatternback to summary
public @Nullable Pattern getFormatterOnPattern()
Annotations
@Nullable
getFormatterOnTagback to summary
public String getFormatterOnTag()
getFormatterRegExEnabledback to summary
public boolean getFormatterRegExEnabled()
getFormatterTagsEnabledback to summary
public boolean getFormatterTagsEnabled()
getPatternOrDisableRegexpback to summary
private @Nullable Pattern getPatternOrDisableRegexp(@NotNull String markerText)
Annotations
@Nullable
initializeFromback to summary
public void initializeFrom(@NotNull Node element)
isFormatterOffTagback to summary
private @Nullable Boolean isFormatterOffTag(@Nullable CharSequence commentText)
Annotations
@Nullable
isFormattingOffback to summary
public boolean isFormattingOff()
isFormattingRegionback to summary
public boolean isFormattingRegion()
isFormattingRegionback to summary
private boolean isFormattingRegion(int offset, @NotNull Node node, boolean checkParent)
isFormattingRegionback to summary
public boolean isFormattingRegion(@NotNull Node node)
isJustTurnedOffFormattingback to summary
public boolean isJustTurnedOffFormatting()
isJustTurnedOnFormattingback to summary
public boolean isJustTurnedOnFormatting()
processFormatControlback to summary
public void processFormatControl(@NotNull Node node)