public class MacroDefinitionBlock extends com.vladsch.flexmark.ast.Block implements com.vladsch.flexmark.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.ast.BlockContent blockContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFirstReferenceOffset(int firstReferenceOffset) |
int |
compareTo(MacroDefinitionBlock o) |
void |
getAstExtra(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() |
MacroReference |
getReferencingNode(com.vladsch.flexmark.ast.Node node) |
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, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, deNullify, extractChainTo, extractToFirstInChain, getAncestorOfType, getBlankLineSibling, getChars, getCharsFromSegments, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEndLineNumber, getEndOffset, getExactChildChars, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getFirstInChain, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLastInChain, getLeadSegment, getLineNumber, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegmentsForChars, getStartLineNumber, getStartOffset, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, insertChainAfter, insertChainBefore, isOrDescendantOfType, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, spanningChars, 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.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(StringBuilder out)
getAstExtra in class com.vladsch.flexmark.ast.Nodepublic com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
getSegments in class com.vladsch.flexmark.ast.Nodepublic MacroReference getReferencingNode(com.vladsch.flexmark.ast.Node node)
getReferencingNode in interface com.vladsch.flexmark.ast.ReferenceNode<MacroDefinitionRepository,MacroDefinitionBlock,MacroReference>public int compareTo(MacroDefinitionBlock o)
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 © 2018. All rights reserved.