@Test public void toStringContent() { InlineParser parser = new InlineParser(new CodeSpan(), new AllCharactersSpan()); String stringContent = parser.toStringContent(ProcessingContext.builder().build(), new TextSegment(Collections.singletonList(new Line(1, 0, "one `two` three")))); assertEquals("one two three", stringContent); }
public String toStringContent(ProcessingContext context, TextSegment textSegment) { List<Inline> inlines = parse(context, textSegment); return toStringContent(inlines); }
InlineParser { public String toStringContent(ProcessingContext context, TextSegment textSegment) { List<Inline> inlines = parse(context, textSegment); return toStringContent(inlines); } }
InlineParser { public String toStringContent(ProcessingContext context, TextSegment textSegment) { List<Inline> inlines = parse(context, textSegment); return toStringContent(inlines); } InlineParser(SourceSpan... spans);  InlineParser(List<SourceSpan> spans); }
InlineParser { public String toStringContent(ProcessingContext context, TextSegment textSegment) { List<Inline> inlines = parse(context, textSegment); return toStringContent(inlines); } InlineParser(SourceSpan... spans);  InlineParser(List<SourceSpan> spans); void emit(ProcessingContext context, DocumentBuilder builder, TextSegment textSegment); String toStringContent(ProcessingContext context, TextSegment textSegment); static void emit(DocumentBuilder builder, List<Inline> inlines); void createContext(ProcessingContextBuilder contextBuilder, TextSegment textSegment); List<Inline> parse(ProcessingContext context, TextSegment segment); }
InlineParser { public String toStringContent(ProcessingContext context, TextSegment textSegment) { List<Inline> inlines = parse(context, textSegment); return toStringContent(inlines); } InlineParser(SourceSpan... spans);  InlineParser(List<SourceSpan> spans); void emit(ProcessingContext context, DocumentBuilder builder, TextSegment textSegment); String toStringContent(ProcessingContext context, TextSegment textSegment); static void emit(DocumentBuilder builder, List<Inline> inlines); void createContext(ProcessingContextBuilder contextBuilder, TextSegment textSegment); List<Inline> parse(ProcessingContext context, TextSegment segment);  }