Top Fields Constructors Methods
com.vladsch.flexmark.ast

public Class TextBase

extends Node
implements TextContainer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.TextContainer
Imports
com.vladsch.flexmark.util.ast.Node, .NodeVisitor, .TextContainer, com.vladsch.flexmark.util.sequence.BasedSequence, .Escaping, .ReplacedTextMapper, com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder, org.jetbrains.annotations.NotNull

Field Summary

Inherited from com.vladsch.flexmark.util.ast.Node:
AST_ADAPTEREMPTY_SEGMENTSSPLICE

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public boolean
collectText(ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence>
sequence build to which to append text
out
,
int
collection flags
flags
,
NodeVisitor
node visitor to use to visit children
nodeVisitor
)

Implements com.vladsch.flexmark.util.ast.TextContainer.collectText.

Append node's text

public void
public @NotNull BasedSequence[]
protected @NotNull String
Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetCharsFromContentsetCharsFromContentOnlysetCharsFromSegmentssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringunlink

Constructor Detail

TextBaseback to summary
public TextBase()
TextBaseback to summary
public TextBase(BasedSequence chars)
TextBaseback to summary
public TextBase(String chars)

Method Detail

collectTextback to summary
public boolean collectText(ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence> out, int flags, NodeVisitor nodeVisitor)

Implements com.vladsch.flexmark.util.ast.TextContainer.collectText.

Doc from com.vladsch.flexmark.util.ast.TextContainer.collectText.

Append node's text

Parameters
out:ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence>

sequence build to which to append text

flags:int

collection flags

nodeVisitor:NodeVisitor

node visitor to use to visit children

Returns:boolean

true if child nodes should be visited

Annotations
@Override
getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

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

Annotations
@NotNull
@Override
toStringAttributesback to summary
protected @NotNull String toStringAttributes()

Overrides com.vladsch.flexmark.util.ast.Node.toStringAttributes.

Annotations
@NotNull
@Override