Top Description Fields Constructors Methods
com.vladsch.flexmark.ext.macros

public Class MacroReference

extends Node
implements DelimitedNode, DoNotDecorate, ReferencingNode<MacroDefinitionRepository, MacroDefinitionBlock>
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.ReferencingNode, com.vladsch.flexmark.util.ast.DoNotDecorate, com.vladsch.flexmark.util.ast.DelimitedNode, com.vladsch.flexmark.util.ast.TextContainer
Imports
com.vladsch.flexmark.ext.macros.internal.MacroDefinitionRepository, com.vladsch.flexmark.util.ast.*, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull

A MacroReference node

Field Summary

Modifier and TypeField and Description
protected BasedSequence
protected MacroDefinitionBlock
protected BasedSequence
protected BasedSequence
Inherited from com.vladsch.flexmark.util.ast.Node:
AST_ADAPTEREMPTY_SEGMENTSSPLICE

Constructor Summary

AccessConstructor and Description
public
public
public
MacroReference(BasedSequence openingMarker, BasedSequence text, BasedSequence closingMarker)

Method Summary

Modifier and TypeMethod and Description
public void
public BasedSequence
public MacroDefinitionBlock
public MacroDefinitionBlock
public BasedSequence
public @NotNull BasedSequence
public MacroDefinitionBlock
public MacroDefinitionBlock
public @NotNull BasedSequence[]
public BasedSequence
public boolean
public void
public void
public void
public void
Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetCharsFromContentsetCharsFromContentOnlysetCharsFromSegmentssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringtoStringAttributesunlink

Field Detail

closingMarkerback to summary
protected BasedSequence closingMarker
myMacroDefinitionBlockback to summary
protected MacroDefinitionBlock myMacroDefinitionBlock
openingMarkerback to summary
protected BasedSequence openingMarker
textback to summary
protected BasedSequence text

Constructor Detail

MacroReferenceback to summary
public MacroReference()
MacroReferenceback to summary
public MacroReference(BasedSequence chars)
MacroReferenceback to summary
public MacroReference(BasedSequence openingMarker, BasedSequence text, BasedSequence closingMarker)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getClosingMarkerback to summary
public BasedSequence getClosingMarker()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getClosingMarker.

getMacroDefinitionBlockback to summary
public MacroDefinitionBlock getMacroDefinitionBlock(MacroDefinitionRepository repository)
getMacroDefinitionBlockback to summary
public MacroDefinitionBlock getMacroDefinitionBlock()
getOpeningMarkerback to summary
public BasedSequence getOpeningMarker()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getOpeningMarker.

getReferenceback to summary
public @NotNull BasedSequence getReference()

Implements com.vladsch.flexmark.util.ast.ReferencingNode.getReference.

Annotations
@NotNull
@Override
getReferenceNodeback to summary
public MacroDefinitionBlock getReferenceNode(Document document)

Implements com.vladsch.flexmark.util.ast.ReferencingNode.getReferenceNode, com.vladsch.flexmark.util.ast.ReferencingNode.getReferenceNode.

Annotations
@Override
getReferenceNodeback to summary
public MacroDefinitionBlock getReferenceNode(MacroDefinitionRepository repository)

Implements com.vladsch.flexmark.util.ast.ReferencingNode.getReferenceNode.

Annotations
@Override
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

Implements abstract com.vladsch.flexmark.util.ast.Node.getSegments.

Annotations
@NotNull
@Override
getTextback to summary
public BasedSequence getText()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getText.

isDefinedback to summary
public boolean isDefined()

Implements com.vladsch.flexmark.util.ast.ReferencingNode.isDefined.

Annotations
@Override
setClosingMarkerback to summary
public void setClosingMarker(BasedSequence closingMarker)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setClosingMarker.

setMacroDefinitionBlockback to summary
public void setMacroDefinitionBlock(MacroDefinitionBlock macroDefinitionBlock)
setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setOpeningMarker.

setTextback to summary
public void setText(BasedSequence text)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setText.