Search in sources :

Example 1 with LiTagCloseContext

use of com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiTagCloseContext in project checkstyle by checkstyle.

the class ParseTreeBuilder method treeListWithUnclosedItemInUnclosedParagraph.

public static ParseTree treeListWithUnclosedItemInUnclosedParagraph() {
    JavadocContext javadocContext0 = new JavadocContext(null, 0);
    HtmlElementContext htmlElementContext0 = new HtmlElementContext(javadocContext0, 0);
    PTagOpenContext pTagOpenContext0 = new PTagOpenContext(htmlElementContext0, 0);
    CommonToken open0 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    pTagOpenContext0.addChild(open0);
    CommonToken pHtmlTagName0 = new CommonToken(JavadocTokenTypes.P_HTML_TAG_NAME, "p");
    pTagOpenContext0.addChild(pHtmlTagName0);
    CommonToken close0 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    pTagOpenContext0.addChild(close0);
    htmlElementContext0.addChild(pTagOpenContext0);
    javadocContext0.addChild(htmlElementContext0);
    CommonToken newline0 = new CommonToken(JavadocTokenTypes.NEWLINE, LINE_SEPARATOR);
    javadocContext0.addChild(newline0);
    HtmlElementContext htmlElementContext1 = new HtmlElementContext(javadocContext0, 0);
    HtmlTagContext htmlTagContext0 = new HtmlTagContext(htmlElementContext1, 0);
    HtmlElementOpenContext htmlElementOpenContext0 = new HtmlElementOpenContext(htmlTagContext0, 0);
    CommonToken open1 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    htmlElementOpenContext0.addChild(open1);
    CommonToken htmlTagName0 = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "ul");
    htmlElementOpenContext0.addChild(htmlTagName0);
    CommonToken close1 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    htmlElementOpenContext0.addChild(close1);
    htmlTagContext0.addChild(htmlElementOpenContext0);
    CommonToken newline1 = new CommonToken(JavadocTokenTypes.NEWLINE, LINE_SEPARATOR);
    htmlTagContext0.addChild(newline1);
    TextContext textContext0 = new TextContext(htmlTagContext0, 0);
    CommonToken ws0 = new CommonToken(JavadocTokenTypes.WS, "\t");
    textContext0.addChild(ws0);
    htmlTagContext0.addChild(textContext0);
    HtmlElementContext htmlElementContext2 = new HtmlElementContext(htmlTagContext0, 0);
    LiTagOpenContext liTagOpenContext0 = new LiTagOpenContext(htmlElementContext2, 0);
    CommonToken open2 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    liTagOpenContext0.addChild(open2);
    CommonToken liHtmlTagName0 = new CommonToken(JavadocTokenTypes.LI_HTML_TAG_NAME, "li");
    liTagOpenContext0.addChild(liHtmlTagName0);
    CommonToken close2 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    liTagOpenContext0.addChild(close2);
    htmlElementContext2.addChild(liTagOpenContext0);
    htmlTagContext0.addChild(htmlElementContext2);
    TextContext textContext1 = new TextContext(htmlTagContext0, 0);
    CommonToken char0 = new CommonToken(JavadocTokenTypes.CHAR, "i");
    textContext1.addChild(char0);
    CommonToken char1 = new CommonToken(JavadocTokenTypes.CHAR, "t");
    textContext1.addChild(char1);
    CommonToken char2 = new CommonToken(JavadocTokenTypes.CHAR, "e");
    textContext1.addChild(char2);
    CommonToken char3 = new CommonToken(JavadocTokenTypes.CHAR, "m");
    textContext1.addChild(char3);
    CommonToken ws1 = new CommonToken(JavadocTokenTypes.WS, " ");
    textContext1.addChild(ws1);
    CommonToken char4 = new CommonToken(JavadocTokenTypes.CHAR, "1");
    textContext1.addChild(char4);
    htmlTagContext0.addChild(textContext1);
    CommonToken newline2 = new CommonToken(JavadocTokenTypes.NEWLINE, LINE_SEPARATOR);
    htmlTagContext0.addChild(newline2);
    TextContext textContext2 = new TextContext(htmlTagContext0, 0);
    CommonToken ws2 = new CommonToken(JavadocTokenTypes.WS, "\t");
    textContext2.addChild(ws2);
    htmlTagContext0.addChild(textContext2);
    HtmlElementContext htmlElementContext3 = new HtmlElementContext(htmlTagContext0, 0);
    LiContext liContext0 = new LiContext(htmlElementContext3, 0);
    LiTagOpenContext liTagOpenContext1 = new LiTagOpenContext(liContext0, 0);
    CommonToken open3 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    liTagOpenContext1.addChild(open3);
    CommonToken liHtmlTagName1 = new CommonToken(JavadocTokenTypes.LI_HTML_TAG_NAME, "li");
    liTagOpenContext1.addChild(liHtmlTagName1);
    CommonToken close3 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    liTagOpenContext1.addChild(close3);
    liContext0.addChild(liTagOpenContext1);
    TextContext textContext3 = new TextContext(liContext0, 0);
    CommonToken char5 = new CommonToken(JavadocTokenTypes.CHAR, "i");
    textContext3.addChild(char5);
    CommonToken char6 = new CommonToken(JavadocTokenTypes.CHAR, "t");
    textContext3.addChild(char6);
    CommonToken char7 = new CommonToken(JavadocTokenTypes.CHAR, "e");
    textContext3.addChild(char7);
    CommonToken char8 = new CommonToken(JavadocTokenTypes.CHAR, "m");
    textContext3.addChild(char8);
    CommonToken ws3 = new CommonToken(JavadocTokenTypes.WS, " ");
    textContext3.addChild(ws3);
    CommonToken char9 = new CommonToken(JavadocTokenTypes.CHAR, "2");
    textContext3.addChild(char9);
    liContext0.addChild(textContext3);
    LiTagCloseContext liTagCloseContext0 = new LiTagCloseContext(liContext0, 0);
    CommonToken open4 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    liTagCloseContext0.addChild(open4);
    CommonToken slash0 = new CommonToken(JavadocTokenTypes.SLASH, "/");
    liTagCloseContext0.addChild(slash0);
    CommonToken liHtmlTagName2 = new CommonToken(JavadocTokenTypes.LI_HTML_TAG_NAME, "li");
    liTagCloseContext0.addChild(liHtmlTagName2);
    CommonToken close4 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    liTagCloseContext0.addChild(close4);
    liContext0.addChild(liTagCloseContext0);
    htmlElementContext3.addChild(liContext0);
    htmlTagContext0.addChild(htmlElementContext3);
    CommonToken newline3 = new CommonToken(JavadocTokenTypes.NEWLINE, LINE_SEPARATOR);
    htmlTagContext0.addChild(newline3);
    HtmlElementCloseContext htmlElementCloseContext0 = new HtmlElementCloseContext(htmlTagContext0, 0);
    CommonToken open5 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    htmlElementCloseContext0.addChild(open5);
    CommonToken slash1 = new CommonToken(JavadocTokenTypes.SLASH, "/");
    htmlElementCloseContext0.addChild(slash1);
    CommonToken htmlTagName1 = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "ul");
    htmlElementCloseContext0.addChild(htmlTagName1);
    CommonToken close5 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    htmlElementCloseContext0.addChild(close5);
    htmlTagContext0.addChild(htmlElementCloseContext0);
    htmlElementContext1.addChild(htmlTagContext0);
    javadocContext0.addChild(htmlElementContext1);
    CommonToken eof0 = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
    javadocContext0.addChild(eof0);
    return javadocContext0;
}
Also used : PTagOpenContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.PTagOpenContext) TextContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.TextContext) LiTagCloseContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiTagCloseContext) HtmlElementContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementContext) JavadocContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext) HtmlElementCloseContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementCloseContext) CommonToken(org.antlr.v4.runtime.CommonToken) HtmlTagContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlTagContext) LiContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiContext) HtmlElementOpenContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementOpenContext) LiTagOpenContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiTagOpenContext)

Aggregations

HtmlElementCloseContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementCloseContext)1 HtmlElementContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementContext)1 HtmlElementOpenContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementOpenContext)1 HtmlTagContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlTagContext)1 JavadocContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext)1 LiContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiContext)1 LiTagCloseContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiTagCloseContext)1 LiTagOpenContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.LiTagOpenContext)1 PTagOpenContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.PTagOpenContext)1 TextContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.TextContext)1 CommonToken (org.antlr.v4.runtime.CommonToken)1