File tree Expand file tree Collapse file tree
commonmark-ext-yaml-front-matter/src/main/java/org/commonmark/ext/front/matter/internal
commonmark/src/main/java/org/commonmark/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import org .commonmark .ext .front .matter .YamlFrontMatterNode ;
55import org .commonmark .node .Block ;
66import org .commonmark .node .Document ;
7- import org .commonmark .parser .InlineParser ;
8- import org .commonmark .parser .SourceLine ;
97import org .commonmark .parser .block .*;
108
119import java .util .ArrayList ;
@@ -37,10 +35,6 @@ public Block getBlock() {
3735 return block ;
3836 }
3937
40- @ Override
41- public void addLine (SourceLine line ) {
42- }
43-
4438 @ Override
4539 public BlockContinue tryContinue (ParserState parserState ) {
4640 final CharSequence line = parserState .getLine ().getContent ();
@@ -91,10 +85,6 @@ public BlockContinue tryContinue(ParserState parserState) {
9185 }
9286 }
9387
94- @ Override
95- public void parseInlines (InlineParser inlineParser ) {
96- }
97-
9888 private static String parseString (String s ) {
9989 // Limited parsing of https://yaml.org/spec/1.2.2/#73-flow-scalar-styles
10090 // We assume input is well-formed and otherwise treat it as a plain string. In a real
Original file line number Diff line number Diff line change 22
33import org .commonmark .node .Block ;
44import org .commonmark .node .Document ;
5- import org .commonmark .parser .SourceLine ;
65import org .commonmark .parser .block .AbstractBlockParser ;
76import org .commonmark .parser .block .BlockContinue ;
87import org .commonmark .parser .block .ParserState ;
@@ -31,8 +30,4 @@ public BlockContinue tryContinue(ParserState state) {
3130 return BlockContinue .atIndex (state .getIndex ());
3231 }
3332
34- @ Override
35- public void addLine (SourceLine line ) {
36- }
37-
3833}
You can’t perform that action at this time.
0 commit comments