Search in sources :

Example 1 with DtTagCloseContext

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

the class ParseTreeBuilder method treeClosedOtherTag.

public static ParseTree treeClosedOtherTag() {
    JavadocContext javadocContext0 = new JavadocContext(null, 0);
    TextContext textContext0 = new TextContext(javadocContext0, 0);
    CommonToken ws0 = new CommonToken(JavadocTokenTypes.WS, " ");
    textContext0.addChild(ws0);
    javadocContext0.addChild(textContext0);
    HtmlElementContext htmlElementContext0 = new HtmlElementContext(javadocContext0, 0);
    DdTagOpenContext ddTagOpenContext0 = new DdTagOpenContext(htmlElementContext0, 0);
    CommonToken open0 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    ddTagOpenContext0.addChild(open0);
    CommonToken ddHtmlTagName0 = new CommonToken(JavadocTokenTypes.DD_HTML_TAG_NAME, "dd");
    ddTagOpenContext0.addChild(ddHtmlTagName0);
    CommonToken close0 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    ddTagOpenContext0.addChild(close0);
    htmlElementContext0.addChild(ddTagOpenContext0);
    javadocContext0.addChild(htmlElementContext0);
    HtmlElementContext htmlElementContext1 = new HtmlElementContext(javadocContext0, 0);
    DtTagCloseContext dtTagCloseContext0 = new DtTagCloseContext(htmlElementContext1, 0);
    CommonToken open1 = new CommonToken(JavadocTokenTypes.OPEN, "<");
    dtTagCloseContext0.addChild(open1);
    CommonToken slash0 = new CommonToken(JavadocTokenTypes.SLASH, "/");
    dtTagCloseContext0.addChild(slash0);
    CommonToken dtHtmlTagName0 = new CommonToken(JavadocTokenTypes.DT_HTML_TAG_NAME, "dt");
    dtTagCloseContext0.addChild(dtHtmlTagName0);
    CommonToken close1 = new CommonToken(JavadocTokenTypes.CLOSE, ">");
    dtTagCloseContext0.addChild(close1);
    htmlElementContext1.addChild(dtTagCloseContext0);
    javadocContext0.addChild(htmlElementContext1);
    CommonToken eof0 = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
    javadocContext0.addChild(eof0);
    return javadocContext0;
}
Also used : TextContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.TextContext) HtmlElementContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementContext) DdTagOpenContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.DdTagOpenContext) JavadocContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext) CommonToken(org.antlr.v4.runtime.CommonToken) DtTagCloseContext(com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.DtTagCloseContext)

Aggregations

DdTagOpenContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.DdTagOpenContext)1 DtTagCloseContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.DtTagCloseContext)1 HtmlElementContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.HtmlElementContext)1 JavadocContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext)1 TextContext (com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.TextContext)1 CommonToken (org.antlr.v4.runtime.CommonToken)1