public class MacroDefinitionBlock extends com.vladsch.flexmark.util.ast.Block implements com.vladsch.flexmark.util.ast.ReferenceNode<MacroDefinitionRepository,MacroDefinitionBlock,MacroReference>
| Constructor and Description |
|---|
MacroDefinitionBlock() |
MacroDefinitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars) |
MacroDefinitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments) |
MacroDefinitionBlock(com.vladsch.flexmark.util.ast.BlockContent blockContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFirstReferenceOffset(int firstReferenceOffset) |
int |
compareTo(MacroDefinitionBlock other) |
void |
getAstExtra(@NotNull StringBuilder out) |
com.vladsch.flexmark.util.sequence.BasedSequence |
getClosingMarker() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getClosingTrailing() |
int |
getFirstReferenceOffset() |
int |
getFootnoteReferences() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getName() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getOpeningMarker() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getOpeningTrailing() |
int |
getOrdinal() |
@Nullable MacroReference |
getReferencingNode(@NotNull com.vladsch.flexmark.util.ast.Node node) |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] |
getSegments() |
boolean |
isInExpansion() |
boolean |
isReferenced() |
void |
setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker) |
void |
setClosingTrailing(com.vladsch.flexmark.util.sequence.BasedSequence closingTrailing) |
void |
setFirstReferenceOffset(int firstReferenceOffset) |
void |
setFootnoteReferences(int footnoteReferences) |
void |
setInExpansion(boolean inExpansion) |
void |
setName(com.vladsch.flexmark.util.sequence.BasedSequence name) |
void |
setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker) |
void |
setOpeningTrailing(com.vladsch.flexmark.util.sequence.BasedSequence openingTrailing) |
void |
setOrdinal(int ordinal) |
getContentChars, getContentChars, getContentLines, getContentLines, getLineChars, getLineCount, getSpanningChars, setContent, setContent, setContent, setContentLine, setContentLinesappendChain, appendChild, astChars, astExtraChars, astString, baseSubSequence, baseSubSequence, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, endOfLine, extractChainTo, extractToFirstInChain, getAncestorOfType, getBaseSequence, getBlankLineSibling, getChars, getCharsFromSegments, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEmptyPrefix, getEmptySuffix, getEndLineNumber, getEndOffset, getEndOfLine, getExactChildChars, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getFirstInChain, getGrandParent, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLastInChain, getLeadSegment, getLineColumnAtEnd, getLineNumber, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegmentsForChars, getSourceRange, getStartLineNumber, getStartOffset, getStartOfLine, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, insertChainAfter, insertChainBefore, isOrDescendantOfType, lineColumnAtIndex, lineColumnAtStart, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, segmentSpanCharsToVisible, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, spanningChars, startOfLine, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkpublic MacroDefinitionBlock()
public MacroDefinitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars)
public MacroDefinitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments)
public MacroDefinitionBlock(com.vladsch.flexmark.util.ast.BlockContent blockContent)
public int getFootnoteReferences()
public void setFootnoteReferences(int footnoteReferences)
public int getFirstReferenceOffset()
public void setFirstReferenceOffset(int firstReferenceOffset)
public void addFirstReferenceOffset(int firstReferenceOffset)
public boolean isReferenced()
public int getOrdinal()
public void setOrdinal(int ordinal)
public boolean isInExpansion()
public void setInExpansion(boolean inExpansion)
public void getAstExtra(@NotNull
@NotNull StringBuilder out)
getAstExtra in class com.vladsch.flexmark.util.ast.Node@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
getSegments in class com.vladsch.flexmark.util.ast.Node@Nullable public @Nullable MacroReference getReferencingNode(@NotNull @NotNull com.vladsch.flexmark.util.ast.Node node)
getReferencingNode in interface com.vladsch.flexmark.util.ast.ReferenceNode<MacroDefinitionRepository,MacroDefinitionBlock,MacroReference>public int compareTo(MacroDefinitionBlock other)
compareTo in interface Comparable<MacroDefinitionBlock>public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
public com.vladsch.flexmark.util.sequence.BasedSequence getName()
public void setName(com.vladsch.flexmark.util.sequence.BasedSequence name)
public com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()
public void setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningTrailing()
public void setOpeningTrailing(com.vladsch.flexmark.util.sequence.BasedSequence openingTrailing)
public com.vladsch.flexmark.util.sequence.BasedSequence getClosingTrailing()
public void setClosingTrailing(com.vladsch.flexmark.util.sequence.BasedSequence closingTrailing)
Copyright © 2020. All rights reserved.