Package com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser

Examples of com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext


        return kbtaA;
    }

    public static ParseTree treeNegativeNumberInAttribute()
    {
        JavadocContext vfDcF = new JavadocContext(null, 0);
        HtmlElementContext wKROF = new HtmlElementContext(vfDcF, 0);
        HtmlTagContext EYqee = new HtmlTagContext(wKROF, 0);
        HtmlElementOpenContext aSmSu = new HtmlElementOpenContext(EYqee, 0);
        CommonToken xNCtb = new CommonToken(JavadocTokenTypes.OPEN, "<");
        aSmSu.addChild(xNCtb);
        CommonToken imaPh = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "font");
        aSmSu.addChild(imaPh);
        CommonToken ogMrA = new CommonToken(JavadocTokenTypes.WS, " ");
        aSmSu.addChild(ogMrA);
        AttributeContext KmAMH = new AttributeContext(aSmSu, 0);
        CommonToken KJHXR = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "size");
        KmAMH.addChild(KJHXR);
        CommonToken DdHka = new CommonToken(JavadocTokenTypes.EQUALS, "=");
        KmAMH.addChild(DdHka);
        CommonToken VZrDv = new CommonToken(JavadocTokenTypes.ATTR_VALUE, "-2");
        KmAMH.addChild(VZrDv);
        aSmSu.addChild(KmAMH);
        CommonToken SfwJg = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        aSmSu.addChild(SfwJg);
        EYqee.addChild(aSmSu);
        TextContext CVQte = new TextContext(EYqee, 0);
        CommonToken aNhAy = new CommonToken(JavadocTokenTypes.CHAR, "T");
        CVQte.addChild(aNhAy);
        CommonToken PMnir = new CommonToken(JavadocTokenTypes.CHAR, "M");
        CVQte.addChild(PMnir);
        EYqee.addChild(CVQte);
        HtmlElementCloseContext TaBhY = new HtmlElementCloseContext(EYqee, 0);
        CommonToken FPzZT = new CommonToken(JavadocTokenTypes.OPEN, "<");
        TaBhY.addChild(FPzZT);
        CommonToken UGqrj = new CommonToken(JavadocTokenTypes.SLASH, "/");
        TaBhY.addChild(UGqrj);
        CommonToken TnwEH = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "font");
        TaBhY.addChild(TnwEH);
        CommonToken naGPO = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        TaBhY.addChild(naGPO);
        EYqee.addChild(TaBhY);
        wKROF.addChild(EYqee);
        vfDcF.addChild(wKROF);
        CommonToken rrjXS = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        vfDcF.addChild(rrjXS);
        return vfDcF;
    }
View Full Code Here

TOP

Related Classes of com.puppycrawl.tools.checkstyle.grammars.javadoc.JavadocParser.JavadocContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.