Package org.antlr.v4.runtime

Examples of org.antlr.v4.runtime.CommonToken


    public static ParseTree treeUnclosedParagraphFollowedByJavadocTag()
    {
        JavadocContext toAar = new JavadocContext(null, 0);
        HtmlElementContext FmXNr = new HtmlElementContext(toAar, 0);
        PTagOpenContext ryFvE = new PTagOpenContext(FmXNr, 0);
        CommonToken HdDOX = new CommonToken(JavadocTokenTypes.OPEN, "<");
        ryFvE.addChild(HdDOX);
        CommonToken nYJUI = new CommonToken(JavadocTokenTypes.P_HTML_TAG_NAME, "p");
        ryFvE.addChild(nYJUI);
        CommonToken KDRaQ = new CommonToken(JavadocTokenTypes.WS, " ");
        ryFvE.addChild(KDRaQ);
        AttributeContext gTKLk = new AttributeContext(ryFvE, 0);
        CommonToken cqEmn = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "style");
        gTKLk.addChild(cqEmn);
        CommonToken ltvVB = new CommonToken(JavadocTokenTypes.EQUALS, "=");
        gTKLk.addChild(ltvVB);
        CommonToken VMpFN = new CommonToken(JavadocTokenTypes.ATTR_VALUE, "\"color: red;\"");
        gTKLk.addChild(VMpFN);
        ryFvE.addChild(gTKLk);
        CommonToken DqXAR = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        ryFvE.addChild(DqXAR);
        FmXNr.addChild(ryFvE);
        toAar.addChild(FmXNr);
        CommonToken gDtSy = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        toAar.addChild(gDtSy);
        TextContext AUKAx = new TextContext(toAar, 0);
        CommonToken yvWdA = new CommonToken(JavadocTokenTypes.WS, "\t");
        AUKAx.addChild(yvWdA);
        CommonToken OYedt = new CommonToken(JavadocTokenTypes.CHAR, "t");
        AUKAx.addChild(OYedt);
        CommonToken JzDTB = new CommonToken(JavadocTokenTypes.CHAR, "e");
        AUKAx.addChild(JzDTB);
        CommonToken oDIJN = new CommonToken(JavadocTokenTypes.CHAR, "x");
        AUKAx.addChild(oDIJN);
        CommonToken Rqlbw = new CommonToken(JavadocTokenTypes.CHAR, "t");
        AUKAx.addChild(Rqlbw);
        CommonToken tCDRR = new CommonToken(JavadocTokenTypes.WS, " ");
        AUKAx.addChild(tCDRR);
        CommonToken pffyu = new CommonToken(JavadocTokenTypes.CHAR, "t");
        AUKAx.addChild(pffyu);
        CommonToken NYaCv = new CommonToken(JavadocTokenTypes.CHAR, "e");
        AUKAx.addChild(NYaCv);
        CommonToken hqUjd = new CommonToken(JavadocTokenTypes.CHAR, "x");
        AUKAx.addChild(hqUjd);
        CommonToken KRkis = new CommonToken(JavadocTokenTypes.CHAR, "t");
        AUKAx.addChild(KRkis);
        toAar.addChild(AUKAx);
        CommonToken HqAee = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        toAar.addChild(HqAee);
        JavadocTagContext XFxtS = new JavadocTagContext(toAar, 0);
        CommonToken yXsKP = new CommonToken(JavadocTokenTypes.AUTHOR_LITERAL, "@author");
        XFxtS.addChild(yXsKP);
        CommonToken RmrHi = new CommonToken(JavadocTokenTypes.WS, " ");
        XFxtS.addChild(RmrHi);
        DescriptionContext SAUHr = new DescriptionContext(XFxtS, 0);
        TextContext mKYlo = new TextContext(SAUHr, 0);
        CommonToken zoqVb = new CommonToken(JavadocTokenTypes.CHAR, "B");
        mKYlo.addChild(zoqVb);
        CommonToken qltjj = new CommonToken(JavadocTokenTypes.CHAR, "a");
        mKYlo.addChild(qltjj);
        CommonToken FtRxi = new CommonToken(JavadocTokenTypes.CHAR, "r");
        mKYlo.addChild(FtRxi);
        CommonToken IJzqI = new CommonToken(JavadocTokenTypes.CHAR, "a");
        mKYlo.addChild(IJzqI);
        CommonToken FcrDM = new CommonToken(JavadocTokenTypes.CHAR, "t");
        mKYlo.addChild(FcrDM);
        CommonToken QNyou = new CommonToken(JavadocTokenTypes.CHAR, "a");
        mKYlo.addChild(QNyou);
        CommonToken qasHc = new CommonToken(JavadocTokenTypes.CHAR, "l");
        mKYlo.addChild(qasHc);
        CommonToken acnQH = new CommonToken(JavadocTokenTypes.CHAR, "i");
        mKYlo.addChild(acnQH);
        SAUHr.addChild(mKYlo);
        XFxtS.addChild(SAUHr);
        toAar.addChild(XFxtS);
        CommonToken tONCM = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        toAar.addChild(tONCM);
        return toAar;
    }
View Full Code Here


    public static ParseTree treeAllJavadocInlineTags()
    {
        JavadocContext XCFCp = new JavadocContext(null, 0);
        JavadocInlineTagContext vvMvz = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken tyjLa = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        vvMvz.addChild(tyjLa);
        CommonToken KRltG = new CommonToken(JavadocTokenTypes.CODE_LITERAL, "@code");
        vvMvz.addChild(KRltG);
        CommonToken FGHtI = new CommonToken(JavadocTokenTypes.WS, " ");
        vvMvz.addChild(FGHtI);
        TextContext yGTsf = new TextContext(vvMvz, 0);
        CommonToken jnFVB = new CommonToken(JavadocTokenTypes.CHAR, "<");
        yGTsf.addChild(jnFVB);
        CommonToken JJqPx = new CommonToken(JavadocTokenTypes.CHAR, "c");
        yGTsf.addChild(JJqPx);
        CommonToken GVmVW = new CommonToken(JavadocTokenTypes.CHAR, "o");
        yGTsf.addChild(GVmVW);
        CommonToken rqpRz = new CommonToken(JavadocTokenTypes.CHAR, "d");
        yGTsf.addChild(rqpRz);
        CommonToken qWwRJ = new CommonToken(JavadocTokenTypes.CHAR, "e");
        yGTsf.addChild(qWwRJ);
        CommonToken miwjG = new CommonToken(JavadocTokenTypes.CHAR, ">");
        yGTsf.addChild(miwjG);
        vvMvz.addChild(yGTsf);
        CommonToken MBkdQ = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        vvMvz.addChild(MBkdQ);
        XCFCp.addChild(vvMvz);
        TextContext foQHe = new TextContext(XCFCp, 0);
        CommonToken kCgcb = new CommonToken(JavadocTokenTypes.WS, " ");
        foQHe.addChild(kCgcb);
        XCFCp.addChild(foQHe);
        JavadocInlineTagContext FyBGO = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken lfXcG = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        FyBGO.addChild(lfXcG);
        CommonToken LOsYk = new CommonToken(JavadocTokenTypes.LITERAL_LITERAL, "@literal");
        FyBGO.addChild(LOsYk);
        CommonToken vfZxY = new CommonToken(JavadocTokenTypes.WS, " ");
        FyBGO.addChild(vfZxY);
        TextContext iQXrF = new TextContext(FyBGO, 0);
        CommonToken iWwOe = new CommonToken(JavadocTokenTypes.CHAR, "<");
        iQXrF.addChild(iWwOe);
        CommonToken LJzjh = new CommonToken(JavadocTokenTypes.CHAR, "l");
        iQXrF.addChild(LJzjh);
        CommonToken NldLf = new CommonToken(JavadocTokenTypes.CHAR, "i");
        iQXrF.addChild(NldLf);
        CommonToken lFviM = new CommonToken(JavadocTokenTypes.CHAR, "t");
        iQXrF.addChild(lFviM);
        CommonToken xJWOR = new CommonToken(JavadocTokenTypes.CHAR, "e");
        iQXrF.addChild(xJWOR);
        CommonToken Adfst = new CommonToken(JavadocTokenTypes.CHAR, "r");
        iQXrF.addChild(Adfst);
        CommonToken zFutg = new CommonToken(JavadocTokenTypes.CHAR, "a");
        iQXrF.addChild(zFutg);
        CommonToken crGkI = new CommonToken(JavadocTokenTypes.CHAR, "l");
        iQXrF.addChild(crGkI);
        CommonToken FAHoz = new CommonToken(JavadocTokenTypes.CHAR, ">");
        iQXrF.addChild(FAHoz);
        FyBGO.addChild(iQXrF);
        CommonToken LGgQr = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        FyBGO.addChild(LGgQr);
        XCFCp.addChild(FyBGO);
        TextContext HBepk = new TextContext(XCFCp, 0);
        CommonToken lXwuG = new CommonToken(JavadocTokenTypes.WS, " ");
        HBepk.addChild(lXwuG);
        XCFCp.addChild(HBepk);
        JavadocInlineTagContext BpaCl = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken Sgsns = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        BpaCl.addChild(Sgsns);
        CommonToken JvJig = new CommonToken(JavadocTokenTypes.DOC_ROOT_LITERAL, "@docRoot");
        BpaCl.addChild(JvJig);
        CommonToken mWdmB = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        BpaCl.addChild(mWdmB);
        XCFCp.addChild(BpaCl);
        TextContext qcEFG = new TextContext(XCFCp, 0);
        CommonToken EdLPJ = new CommonToken(JavadocTokenTypes.WS, " ");
        qcEFG.addChild(EdLPJ);
        XCFCp.addChild(qcEFG);
        JavadocInlineTagContext NnMRn = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken NfGZi = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        NnMRn.addChild(NfGZi);
        CommonToken WQTCA = new CommonToken(JavadocTokenTypes.INHERIT_DOC_LITERAL, "@inheritDoc");
        NnMRn.addChild(WQTCA);
        CommonToken gMbXT = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        NnMRn.addChild(gMbXT);
        XCFCp.addChild(NnMRn);
        TextContext xsdSg = new TextContext(XCFCp, 0);
        CommonToken AuLBM = new CommonToken(JavadocTokenTypes.WS, " ");
        xsdSg.addChild(AuLBM);
        XCFCp.addChild(xsdSg);
        JavadocInlineTagContext uDaZc = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken mFELI = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        uDaZc.addChild(mFELI);
        CommonToken XNwqz = new CommonToken(JavadocTokenTypes.LINK_LITERAL, "@link");
        uDaZc.addChild(XNwqz);
        CommonToken qqVCG = new CommonToken(JavadocTokenTypes.WS, " ");
        uDaZc.addChild(qqVCG);
        ReferenceContext cnPBx = new ReferenceContext(uDaZc, 0);
        CommonToken bkuIn = new CommonToken(JavadocTokenTypes.CLASS, "A");
        cnPBx.addChild(bkuIn);
        uDaZc.addChild(cnPBx);
        DescriptionContext Nwwzw = new DescriptionContext(uDaZc, 0);
        TextContext aoYeF = new TextContext(Nwwzw, 0);
        CommonToken BbcMv = new CommonToken(JavadocTokenTypes.WS, " ");
        aoYeF.addChild(BbcMv);
        CommonToken wvBIr = new CommonToken(JavadocTokenTypes.CHAR, "A");
        aoYeF.addChild(wvBIr);
        CommonToken bIaEN = new CommonToken(JavadocTokenTypes.WS, " ");
        aoYeF.addChild(bIaEN);
        CommonToken WihsX = new CommonToken(JavadocTokenTypes.CHAR, "c");
        aoYeF.addChild(WihsX);
        CommonToken CYnHa = new CommonToken(JavadocTokenTypes.CHAR, "l");
        aoYeF.addChild(CYnHa);
        CommonToken mReSU = new CommonToken(JavadocTokenTypes.CHAR, "a");
        aoYeF.addChild(mReSU);
        CommonToken ZpHCT = new CommonToken(JavadocTokenTypes.CHAR, "s");
        aoYeF.addChild(ZpHCT);
        CommonToken gRXzZ = new CommonToken(JavadocTokenTypes.CHAR, "s");
        aoYeF.addChild(gRXzZ);
        Nwwzw.addChild(aoYeF);
        uDaZc.addChild(Nwwzw);
        CommonToken pjqJa = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        uDaZc.addChild(pjqJa);
        XCFCp.addChild(uDaZc);
        TextContext YNADS = new TextContext(XCFCp, 0);
        CommonToken IputF = new CommonToken(JavadocTokenTypes.WS, " ");
        YNADS.addChild(IputF);
        XCFCp.addChild(YNADS);
        JavadocInlineTagContext eAcRt = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken iEPsH = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        eAcRt.addChild(iEPsH);
        CommonToken PcAvQ = new CommonToken(JavadocTokenTypes.LINKPLAIN_LITERAL, "@linkplain");
        eAcRt.addChild(PcAvQ);
        CommonToken IMvdy = new CommonToken(JavadocTokenTypes.WS, " ");
        eAcRt.addChild(IMvdy);
        ReferenceContext fqHhC = new ReferenceContext(eAcRt, 0);
        CommonToken qYmAk = new CommonToken(JavadocTokenTypes.CLASS, "A");
        fqHhC.addChild(qYmAk);
        eAcRt.addChild(fqHhC);
        DescriptionContext brtoS = new DescriptionContext(eAcRt, 0);
        TextContext dGiZw = new TextContext(brtoS, 0);
        CommonToken AbrxL = new CommonToken(JavadocTokenTypes.WS, " ");
        dGiZw.addChild(AbrxL);
        CommonToken WDSsS = new CommonToken(JavadocTokenTypes.CHAR, "a");
        dGiZw.addChild(WDSsS);
        CommonToken tPLRW = new CommonToken(JavadocTokenTypes.CHAR, "n");
        dGiZw.addChild(tPLRW);
        CommonToken cvRSk = new CommonToken(JavadocTokenTypes.CHAR, "o");
        dGiZw.addChild(cvRSk);
        CommonToken AbPnu = new CommonToken(JavadocTokenTypes.CHAR, "t");
        dGiZw.addChild(AbPnu);
        CommonToken WOWlF = new CommonToken(JavadocTokenTypes.CHAR, "h");
        dGiZw.addChild(WOWlF);
        CommonToken SYLiT = new CommonToken(JavadocTokenTypes.CHAR, "e");
        dGiZw.addChild(SYLiT);
        CommonToken AtRDz = new CommonToken(JavadocTokenTypes.CHAR, "r");
        dGiZw.addChild(AtRDz);
        CommonToken mmKkp = new CommonToken(JavadocTokenTypes.WS, " ");
        dGiZw.addChild(mmKkp);
        CommonToken ygfxc = new CommonToken(JavadocTokenTypes.CHAR, "l");
        dGiZw.addChild(ygfxc);
        CommonToken bJzTl = new CommonToken(JavadocTokenTypes.CHAR, "i");
        dGiZw.addChild(bJzTl);
        CommonToken LhWRW = new CommonToken(JavadocTokenTypes.CHAR, "n");
        dGiZw.addChild(LhWRW);
        CommonToken bmeId = new CommonToken(JavadocTokenTypes.CHAR, "k");
        dGiZw.addChild(bmeId);
        brtoS.addChild(dGiZw);
        eAcRt.addChild(brtoS);
        CommonToken fRkUC = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        eAcRt.addChild(fRkUC);
        XCFCp.addChild(eAcRt);
        TextContext cNtKT = new TextContext(XCFCp, 0);
        CommonToken gGmoz = new CommonToken(JavadocTokenTypes.WS, " ");
        cNtKT.addChild(gGmoz);
        XCFCp.addChild(cNtKT);
        JavadocInlineTagContext DcRUm = new JavadocInlineTagContext(XCFCp, 0);
        CommonToken kCjvD = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        DcRUm.addChild(kCjvD);
        CommonToken HUUCy = new CommonToken(JavadocTokenTypes.VALUE_LITERAL, "@value");
        DcRUm.addChild(HUUCy);
        CommonToken dixxI = new CommonToken(JavadocTokenTypes.WS, " ");
        DcRUm.addChild(dixxI);
        ReferenceContext NDRFQ = new ReferenceContext(DcRUm, 0);
        CommonToken ULKmS = new CommonToken(JavadocTokenTypes.PACKAGE, "lang");
        NDRFQ.addChild(ULKmS);
        CommonToken BLKoL = new CommonToken(JavadocTokenTypes.DOT, ".");
        NDRFQ.addChild(BLKoL);
        CommonToken uAzxT = new CommonToken(JavadocTokenTypes.CLASS, "Integer");
        NDRFQ.addChild(uAzxT);
        CommonToken chhNN = new CommonToken(JavadocTokenTypes.HASH, "#");
        NDRFQ.addChild(chhNN);
        CommonToken WQzYZ = new CommonToken(JavadocTokenTypes.MEMBER, "MAX_VALUE");
        NDRFQ.addChild(WQzYZ);
        DcRUm.addChild(NDRFQ);
        CommonToken emAFs = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        DcRUm.addChild(emAFs);
        XCFCp.addChild(DcRUm);
        CommonToken zqHMX = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        XCFCp.addChild(zqHMX);
        return XCFCp;
    }
View Full Code Here

        return XCFCp;
    }
    public static ParseTree treeDocRootInheritDoc()
    {
        JavadocContext CAWJW = new JavadocContext(null, 0);
        CommonToken yedSF = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(yedSF);
        CommonToken HyKaf = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(HyKaf);
        TextContext WCKlI = new TextContext(CAWJW, 0);
        CommonToken UujlQ = new CommonToken(JavadocTokenTypes.WS, " ");
        WCKlI.addChild(UujlQ);
        CAWJW.addChild(WCKlI);
        JavadocInlineTagContext ebZsC = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken gdFio = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        ebZsC.addChild(gdFio);
        CommonToken IhYHt = new CommonToken(JavadocTokenTypes.DOC_ROOT_LITERAL, "@docRoot");
        ebZsC.addChild(IhYHt);
        CommonToken AJgDf = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        ebZsC.addChild(AJgDf);
        CAWJW.addChild(ebZsC);
        CommonToken gsDNo = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(gsDNo);
        CommonToken ygMhD = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(ygMhD);
        TextContext eqDaT = new TextContext(CAWJW, 0);
        CommonToken VmFHe = new CommonToken(JavadocTokenTypes.WS, " ");
        eqDaT.addChild(VmFHe);
        CAWJW.addChild(eqDaT);
        JavadocInlineTagContext NDzGJ = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken arrQW = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        NDzGJ.addChild(arrQW);
        CommonToken oaYWJ = new CommonToken(JavadocTokenTypes.DOC_ROOT_LITERAL, "@docRoot");
        NDzGJ.addChild(oaYWJ);
        CommonToken jKhIo = new CommonToken(JavadocTokenTypes.WS, " ");
        NDzGJ.addChild(jKhIo);
        CommonToken dGiJA = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        NDzGJ.addChild(dGiJA);
        CAWJW.addChild(NDzGJ);
        CommonToken ddkKe = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(ddkKe);
        CommonToken TQjjV = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(TQjjV);
        TextContext UQHgC = new TextContext(CAWJW, 0);
        CommonToken PwuNM = new CommonToken(JavadocTokenTypes.WS, " ");
        UQHgC.addChild(PwuNM);
        CAWJW.addChild(UQHgC);
        JavadocInlineTagContext gwexf = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken bpYBO = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        gwexf.addChild(bpYBO);
        CommonToken cvvJR = new CommonToken(JavadocTokenTypes.DOC_ROOT_LITERAL, "@docRoot");
        gwexf.addChild(cvvJR);
        CommonToken qLnrF = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        gwexf.addChild(qLnrF);
        CommonToken zoQlm = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gwexf.addChild(zoQlm);
        CommonToken rvDVd = new CommonToken(JavadocTokenTypes.WS, " ");
        gwexf.addChild(rvDVd);
        CommonToken gPoTc = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        gwexf.addChild(gPoTc);
        CAWJW.addChild(gwexf);
        CommonToken BhBNy = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(BhBNy);
        CommonToken yayju = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(yayju);
        TextContext mPEov = new TextContext(CAWJW, 0);
        CommonToken wCOca = new CommonToken(JavadocTokenTypes.WS, " ");
        mPEov.addChild(wCOca);
        CAWJW.addChild(mPEov);
        JavadocInlineTagContext sNwft = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken jAmAp = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        sNwft.addChild(jAmAp);
        CommonToken tKJbI = new CommonToken(JavadocTokenTypes.INHERIT_DOC_LITERAL, "@inheritDoc");
        sNwft.addChild(tKJbI);
        CommonToken WtIyH = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        sNwft.addChild(WtIyH);
        CAWJW.addChild(sNwft);
        CommonToken qUwTF = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(qUwTF);
        CommonToken bewgL = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(bewgL);
        TextContext BMFSS = new TextContext(CAWJW, 0);
        CommonToken IiXZA = new CommonToken(JavadocTokenTypes.WS, " ");
        BMFSS.addChild(IiXZA);
        CAWJW.addChild(BMFSS);
        JavadocInlineTagContext sQPCX = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken rdCpq = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        sQPCX.addChild(rdCpq);
        CommonToken jHPxn = new CommonToken(JavadocTokenTypes.INHERIT_DOC_LITERAL, "@inheritDoc");
        sQPCX.addChild(jHPxn);
        CommonToken tHuBm = new CommonToken(JavadocTokenTypes.WS, " ");
        sQPCX.addChild(tHuBm);
        CommonToken XpuUV = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        sQPCX.addChild(XpuUV);
        CAWJW.addChild(sQPCX);
        CommonToken NQibo = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(NQibo);
        CommonToken aicIl = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        CAWJW.addChild(aicIl);
        TextContext vJtDV = new TextContext(CAWJW, 0);
        CommonToken JqMgW = new CommonToken(JavadocTokenTypes.WS, " ");
        vJtDV.addChild(JqMgW);
        CAWJW.addChild(vJtDV);
        JavadocInlineTagContext rpBUl = new JavadocInlineTagContext(CAWJW, 0);
        CommonToken EAMJR = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        rpBUl.addChild(EAMJR);
        CommonToken oRHfO = new CommonToken(JavadocTokenTypes.INHERIT_DOC_LITERAL, "@inheritDoc");
        rpBUl.addChild(oRHfO);
        CommonToken yRNLA = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        rpBUl.addChild(yRNLA);
        CommonToken jDlgz = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        rpBUl.addChild(jDlgz);
        CommonToken SNisJ = new CommonToken(JavadocTokenTypes.WS, " ");
        rpBUl.addChild(SNisJ);
        CommonToken wtLbm = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        rpBUl.addChild(wtLbm);
        CAWJW.addChild(rpBUl);
        CommonToken cBiEm = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CAWJW.addChild(cBiEm);
        TextContext JvFEl = new TextContext(CAWJW, 0);
        CommonToken zZnAN = new CommonToken(JavadocTokenTypes.WS, " ");
        JvFEl.addChild(zZnAN);
        CAWJW.addChild(JvFEl);
        CommonToken qNjgf = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        CAWJW.addChild(qNjgf);
        return CAWJW;
    }
View Full Code Here

        return CAWJW;
    }
    public static ParseTree treeFewWhiteSpacesAsSeparator()
    {
        JavadocContext zKyCD = new JavadocContext(null, 0);
        CommonToken WeoVx = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, "       *");
        zKyCD.addChild(WeoVx);
        CommonToken QteMJ = new CommonToken(JavadocTokenTypes.WS, " ");
        zKyCD.addChild(QteMJ);
        JavadocTagContext phPgN = new JavadocTagContext(zKyCD, 0);
        CommonToken wYBWS = new CommonToken(JavadocTokenTypes.PARAM_LITERAL, "@param");
        phPgN.addChild(wYBWS);
        CommonToken iETjL = new CommonToken(JavadocTokenTypes.WS, "   ");
        phPgN.addChild(iETjL);
        CommonToken jGVhZ = new CommonToken(JavadocTokenTypes.PARAMETER_NAME, "initialCapacity");
        phPgN.addChild(jGVhZ);
        CommonToken cynpc = new CommonToken(JavadocTokenTypes.WS, "     ");
        phPgN.addChild(cynpc);
        DescriptionContext kNtol = new DescriptionContext(phPgN, 0);
        TextContext zjtGu = new TextContext(kNtol, 0);
        CommonToken wUQJx = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zjtGu.addChild(wUQJx);
        CommonToken RPclX = new CommonToken(JavadocTokenTypes.CHAR, "h");
        zjtGu.addChild(RPclX);
        CommonToken JGrRW = new CommonToken(JavadocTokenTypes.CHAR, "e");
        zjtGu.addChild(JGrRW);
        CommonToken pYSMU = new CommonToken(JavadocTokenTypes.WS, " ");
        zjtGu.addChild(pYSMU);
        CommonToken nGslU = new CommonToken(JavadocTokenTypes.CHAR, "i");
        zjtGu.addChild(nGslU);
        CommonToken qzSja = new CommonToken(JavadocTokenTypes.CHAR, "n");
        zjtGu.addChild(qzSja);
        CommonToken vJKCZ = new CommonToken(JavadocTokenTypes.CHAR, "i");
        zjtGu.addChild(vJKCZ);
        CommonToken zQFvS = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zjtGu.addChild(zQFvS);
        CommonToken mHDMH = new CommonToken(JavadocTokenTypes.CHAR, "i");
        zjtGu.addChild(mHDMH);
        CommonToken ZJFWk = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zjtGu.addChild(ZJFWk);
        CommonToken qRgTv = new CommonToken(JavadocTokenTypes.CHAR, "l");
        zjtGu.addChild(qRgTv);
        CommonToken lfDIk = new CommonToken(JavadocTokenTypes.WS, " ");
        zjtGu.addChild(lfDIk);
        CommonToken ltHHj = new CommonToken(JavadocTokenTypes.CHAR, "c");
        zjtGu.addChild(ltHHj);
        CommonToken SfvKC = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zjtGu.addChild(SfvKC);
        CommonToken wzveD = new CommonToken(JavadocTokenTypes.CHAR, "p");
        zjtGu.addChild(wzveD);
        CommonToken zUCyE = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zjtGu.addChild(zUCyE);
        CommonToken rloQS = new CommonToken(JavadocTokenTypes.CHAR, "c");
        zjtGu.addChild(rloQS);
        CommonToken MuTvI = new CommonToken(JavadocTokenTypes.CHAR, "i");
        zjtGu.addChild(MuTvI);
        CommonToken fewur = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zjtGu.addChild(fewur);
        CommonToken igxlx = new CommonToken(JavadocTokenTypes.CHAR, "y");
        zjtGu.addChild(igxlx);
        CommonToken beBno = new CommonToken(JavadocTokenTypes.WS, " ");
        zjtGu.addChild(beBno);
        CommonToken avZOW = new CommonToken(JavadocTokenTypes.CHAR, "o");
        zjtGu.addChild(avZOW);
        CommonToken XUQGy = new CommonToken(JavadocTokenTypes.CHAR, "f");
        zjtGu.addChild(XUQGy);
        CommonToken BSIkL = new CommonToken(JavadocTokenTypes.WS, " ");
        zjtGu.addChild(BSIkL);
        CommonToken wIFNM = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zjtGu.addChild(wIFNM);
        CommonToken wJSuh = new CommonToken(JavadocTokenTypes.CHAR, "h");
        zjtGu.addChild(wJSuh);
        CommonToken KUQLO = new CommonToken(JavadocTokenTypes.CHAR, "e");
        zjtGu.addChild(KUQLO);
        CommonToken ElRYS = new CommonToken(JavadocTokenTypes.WS, " ");
        zjtGu.addChild(ElRYS);
        CommonToken gUTyH = new CommonToken(JavadocTokenTypes.CHAR, "B");
        zjtGu.addChild(gUTyH);
        CommonToken xCkwE = new CommonToken(JavadocTokenTypes.CHAR, "y");
        zjtGu.addChild(xCkwE);
        CommonToken qzUYG = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zjtGu.addChild(qzUYG);
        CommonToken UGNjY = new CommonToken(JavadocTokenTypes.CHAR, "e");
        zjtGu.addChild(UGNjY);
        CommonToken QgUhb = new CommonToken(JavadocTokenTypes.CHAR, "B");
        zjtGu.addChild(QgUhb);
        CommonToken RVnZl = new CommonToken(JavadocTokenTypes.CHAR, "u");
        zjtGu.addChild(RVnZl);
        CommonToken yXxEO = new CommonToken(JavadocTokenTypes.CHAR, "f");
        zjtGu.addChild(yXxEO);
        CommonToken LuMth = new CommonToken(JavadocTokenTypes.CHAR, "f");
        zjtGu.addChild(LuMth);
        CommonToken kYaOA = new CommonToken(JavadocTokenTypes.CHAR, "e");
        zjtGu.addChild(kYaOA);
        CommonToken DIeTP = new CommonToken(JavadocTokenTypes.CHAR, "r");
        zjtGu.addChild(DIeTP);
        CommonToken WJHrR = new CommonToken(JavadocTokenTypes.CHAR, ".");
        zjtGu.addChild(WJHrR);
        kNtol.addChild(zjtGu);
        phPgN.addChild(kNtol);
        zKyCD.addChild(phPgN);
        CommonToken JrVuu = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        zKyCD.addChild(JrVuu);
        return zKyCD;
    }
View Full Code Here

    public static ParseTree treeMixedCaseOfHtmlTags()
    {
        JavadocContext iWKZR = new JavadocContext(null, 0);
        HtmlElementContext fcyyo = new HtmlElementContext(iWKZR, 0);
        PTagOpenContext UKnca = new PTagOpenContext(fcyyo, 0);
        CommonToken XAMcR = new CommonToken(JavadocTokenTypes.OPEN, "<");
        UKnca.addChild(XAMcR);
        CommonToken xrTlP = new CommonToken(JavadocTokenTypes.P_HTML_TAG_NAME, "P");
        UKnca.addChild(xrTlP);
        CommonToken zyyyF = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        UKnca.addChild(zyyyF);
        fcyyo.addChild(UKnca);
        iWKZR.addChild(fcyyo);
        CommonToken OmCfP = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(OmCfP);
        HtmlElementContext aVnVE = new HtmlElementContext(iWKZR, 0);
        SingletonElementContext COIii = new SingletonElementContext(aVnVE, 0);
        BrTagContext pwdAu = new BrTagContext(COIii, 0);
        CommonToken jmHHr = new CommonToken(JavadocTokenTypes.OPEN, "<");
        pwdAu.addChild(jmHHr);
        CommonToken jfwgB = new CommonToken(JavadocTokenTypes.BR_HTML_TAG_NAME, "br");
        pwdAu.addChild(jfwgB);
        CommonToken RcwAS = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        pwdAu.addChild(RcwAS);
        COIii.addChild(pwdAu);
        aVnVE.addChild(COIii);
        iWKZR.addChild(aVnVE);
        CommonToken gMBGa = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(gMBGa);
        HtmlElementContext vRfGV = new HtmlElementContext(iWKZR, 0);
        SingletonElementContext qGQrO = new SingletonElementContext(vRfGV, 0);
        BrTagContext KiLID = new BrTagContext(qGQrO, 0);
        CommonToken nXCGP = new CommonToken(JavadocTokenTypes.OPEN, "<");
        KiLID.addChild(nXCGP);
        CommonToken WYgcd = new CommonToken(JavadocTokenTypes.BR_HTML_TAG_NAME, "br");
        KiLID.addChild(WYgcd);
        CommonToken hSevb = new CommonToken(JavadocTokenTypes.SLASH_CLOSE, "/>");
        KiLID.addChild(hSevb);
        qGQrO.addChild(KiLID);
        vRfGV.addChild(qGQrO);
        iWKZR.addChild(vRfGV);
        CommonToken rUaNb = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(rUaNb);
        HtmlElementContext vJpux = new HtmlElementContext(iWKZR, 0);
        SingletonElementContext ONaVf = new SingletonElementContext(vJpux, 0);
        BrTagContext eIkvB = new BrTagContext(ONaVf, 0);
        CommonToken nziuT = new CommonToken(JavadocTokenTypes.OPEN, "<");
        eIkvB.addChild(nziuT);
        CommonToken PTbiF = new CommonToken(JavadocTokenTypes.BR_HTML_TAG_NAME, "BR");
        eIkvB.addChild(PTbiF);
        CommonToken ALhtL = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        eIkvB.addChild(ALhtL);
        ONaVf.addChild(eIkvB);
        vJpux.addChild(ONaVf);
        iWKZR.addChild(vJpux);
        CommonToken XTOYg = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(XTOYg);
        HtmlElementContext ZYoHu = new HtmlElementContext(iWKZR, 0);
        SingletonElementContext ftheU = new SingletonElementContext(ZYoHu, 0);
        BrTagContext Jwgnv = new BrTagContext(ftheU, 0);
        CommonToken iXKFh = new CommonToken(JavadocTokenTypes.OPEN, "<");
        Jwgnv.addChild(iXKFh);
        CommonToken TKFsU = new CommonToken(JavadocTokenTypes.BR_HTML_TAG_NAME, "BR");
        Jwgnv.addChild(TKFsU);
        CommonToken rPsaG = new CommonToken(JavadocTokenTypes.SLASH_CLOSE, "/>");
        Jwgnv.addChild(rPsaG);
        ftheU.addChild(Jwgnv);
        ZYoHu.addChild(ftheU);
        iWKZR.addChild(ZYoHu);
        CommonToken zxDCq = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(zxDCq);
        HtmlElementContext MJUQw = new HtmlElementContext(iWKZR, 0);
        HtmlTagContext CDWDd = new HtmlTagContext(MJUQw, 0);
        HtmlElementOpenContext mjIHv = new HtmlElementOpenContext(CDWDd, 0);
        CommonToken fJdVi = new CommonToken(JavadocTokenTypes.OPEN, "<");
        mjIHv.addChild(fJdVi);
        CommonToken AsDEE = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "TABLE");
        mjIHv.addChild(AsDEE);
        CommonToken zGfzL = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        mjIHv.addChild(zGfzL);
        CDWDd.addChild(mjIHv);
        CommonToken sHICO = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CDWDd.addChild(sHICO);
        TextContext Apukr = new TextContext(CDWDd, 0);
        CommonToken UbyVP = new CommonToken(JavadocTokenTypes.WS, "\t");
        Apukr.addChild(UbyVP);
        CDWDd.addChild(Apukr);
        HtmlElementContext skMou = new HtmlElementContext(CDWDd, 0);
        TrContext xEPjY = new TrContext(skMou, 0);
        TrTagOpenContext vXsny = new TrTagOpenContext(xEPjY, 0);
        CommonToken IUMkk = new CommonToken(JavadocTokenTypes.OPEN, "<");
        vXsny.addChild(IUMkk);
        CommonToken tTVAD = new CommonToken(JavadocTokenTypes.TR_HTML_TAG_NAME, "tr");
        vXsny.addChild(tTVAD);
        CommonToken gFXXE = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        vXsny.addChild(gFXXE);
        xEPjY.addChild(vXsny);
        TrTagCloseContext bGFGg = new TrTagCloseContext(xEPjY, 0);
        CommonToken GJxfQ = new CommonToken(JavadocTokenTypes.OPEN, "<");
        bGFGg.addChild(GJxfQ);
        CommonToken ZsVqW = new CommonToken(JavadocTokenTypes.SLASH, "/");
        bGFGg.addChild(ZsVqW);
        CommonToken UOZJv = new CommonToken(JavadocTokenTypes.TR_HTML_TAG_NAME, "TR");
        bGFGg.addChild(UOZJv);
        CommonToken PaVuy = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        bGFGg.addChild(PaVuy);
        xEPjY.addChild(bGFGg);
        skMou.addChild(xEPjY);
        CDWDd.addChild(skMou);
        CommonToken WwOSH = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CDWDd.addChild(WwOSH);
        TextContext lxufe = new TextContext(CDWDd, 0);
        CommonToken zVXtI = new CommonToken(JavadocTokenTypes.WS, "\t");
        lxufe.addChild(zVXtI);
        CDWDd.addChild(lxufe);
        HtmlElementContext KHArY = new HtmlElementContext(CDWDd, 0);
        TrContext vUNkt = new TrContext(KHArY, 0);
        TrTagOpenContext NLtsg = new TrTagOpenContext(vUNkt, 0);
        CommonToken mJQNR = new CommonToken(JavadocTokenTypes.OPEN, "<");
        NLtsg.addChild(mJQNR);
        CommonToken mYTax = new CommonToken(JavadocTokenTypes.TR_HTML_TAG_NAME, "TR");
        NLtsg.addChild(mYTax);
        CommonToken iCjrM = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        NLtsg.addChild(iCjrM);
        vUNkt.addChild(NLtsg);
        TrTagCloseContext tNsiD = new TrTagCloseContext(vUNkt, 0);
        CommonToken bDRHE = new CommonToken(JavadocTokenTypes.OPEN, "<");
        tNsiD.addChild(bDRHE);
        CommonToken ioVxv = new CommonToken(JavadocTokenTypes.SLASH, "/");
        tNsiD.addChild(ioVxv);
        CommonToken YMIDT = new CommonToken(JavadocTokenTypes.TR_HTML_TAG_NAME, "tr");
        tNsiD.addChild(YMIDT);
        CommonToken LjVWd = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        tNsiD.addChild(LjVWd);
        vUNkt.addChild(tNsiD);
        KHArY.addChild(vUNkt);
        CDWDd.addChild(KHArY);
        CommonToken RISaK = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        CDWDd.addChild(RISaK);
        HtmlElementCloseContext mqaGZ = new HtmlElementCloseContext(CDWDd, 0);
        CommonToken SqSNI = new CommonToken(JavadocTokenTypes.OPEN, "<");
        mqaGZ.addChild(SqSNI);
        CommonToken GJDIc = new CommonToken(JavadocTokenTypes.SLASH, "/");
        mqaGZ.addChild(GJDIc);
        CommonToken bDitP = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "table");
        mqaGZ.addChild(bDitP);
        CommonToken uldXk = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        mqaGZ.addChild(uldXk);
        CDWDd.addChild(mqaGZ);
        MJUQw.addChild(CDWDd);
        iWKZR.addChild(MJUQw);
        CommonToken WTQzF = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        iWKZR.addChild(WTQzF);
        HtmlElementContext YhgCO = new HtmlElementContext(iWKZR, 0);
        PTagCloseContext METvc = new PTagCloseContext(YhgCO, 0);
        CommonToken CeBJB = new CommonToken(JavadocTokenTypes.OPEN, "<");
        METvc.addChild(CeBJB);
        CommonToken tmkjM = new CommonToken(JavadocTokenTypes.SLASH, "/");
        METvc.addChild(tmkjM);
        CommonToken BPLVF = new CommonToken(JavadocTokenTypes.P_HTML_TAG_NAME, "p");
        METvc.addChild(BPLVF);
        CommonToken PcolG = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        METvc.addChild(PcolG);
        YhgCO.addChild(METvc);
        iWKZR.addChild(YhgCO);
        CommonToken iclNb = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        iWKZR.addChild(iclNb);
        return iWKZR;
    }
View Full Code Here

        return iWKZR;
    }
    public static ParseTree treeComments()
    {
        JavadocContext kbtaA = new JavadocContext(null, 0);
        CommonToken Tiacl = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        kbtaA.addChild(Tiacl);
        TextContext bBREf = new TextContext(kbtaA, 0);
        CommonToken SsCzG = new CommonToken(JavadocTokenTypes.WS, " ");
        bBREf.addChild(SsCzG);
        CommonToken WVwTr = new CommonToken(JavadocTokenTypes.CHAR, "U");
        bBREf.addChild(WVwTr);
        CommonToken JPJOo = new CommonToken(JavadocTokenTypes.CHAR, "s");
        bBREf.addChild(JPJOo);
        CommonToken EdUnY = new CommonToken(JavadocTokenTypes.CHAR, "e");
        bBREf.addChild(EdUnY);
        CommonToken Qlkhf = new CommonToken(JavadocTokenTypes.WS, " ");
        bBREf.addChild(Qlkhf);
        kbtaA.addChild(bBREf);
        HtmlCommentContext LCIXU = new HtmlCommentContext(kbtaA, 0);
        CommonToken lSOjO = new CommonToken(JavadocTokenTypes.HTML_COMMENT_START, "<!--");
        LCIXU.addChild(lSOjO);
        TextContext kCboV = new TextContext(LCIXU, 0);
        CommonToken phgvJ = new CommonToken(JavadocTokenTypes.WS, " ");
        kCboV.addChild(phgvJ);
        CommonToken ijFZy = new CommonToken(JavadocTokenTypes.CHAR, "s");
        kCboV.addChild(ijFZy);
        CommonToken SvgWX = new CommonToken(JavadocTokenTypes.CHAR, "t");
        kCboV.addChild(SvgWX);
        CommonToken khSeV = new CommonToken(JavadocTokenTypes.CHAR, "a");
        kCboV.addChild(khSeV);
        CommonToken HpdsX = new CommonToken(JavadocTokenTypes.CHAR, "n");
        kCboV.addChild(HpdsX);
        CommonToken byUpo = new CommonToken(JavadocTokenTypes.CHAR, "d");
        kCboV.addChild(byUpo);
        CommonToken ejrVd = new CommonToken(JavadocTokenTypes.CHAR, "a");
        kCboV.addChild(ejrVd);
        CommonToken SACAY = new CommonToken(JavadocTokenTypes.CHAR, "r");
        kCboV.addChild(SACAY);
        CommonToken vhRxs = new CommonToken(JavadocTokenTypes.CHAR, "d");
        kCboV.addChild(vhRxs);
        LCIXU.addChild(kCboV);
        CommonToken dIidq = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        LCIXU.addChild(dIidq);
        CommonToken Pnmfd = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        LCIXU.addChild(Pnmfd);
        TextContext ruWbh = new TextContext(LCIXU, 0);
        CommonToken bPeNs = new CommonToken(JavadocTokenTypes.WS, " ");
        ruWbh.addChild(bPeNs);
        CommonToken ejJDn = new CommonToken(JavadocTokenTypes.CHAR, "j");
        ruWbh.addChild(ejJDn);
        CommonToken XNwPC = new CommonToken(JavadocTokenTypes.CHAR, "a");
        ruWbh.addChild(XNwPC);
        CommonToken DLtbb = new CommonToken(JavadocTokenTypes.CHAR, "v");
        ruWbh.addChild(DLtbb);
        CommonToken ucCCq = new CommonToken(JavadocTokenTypes.CHAR, "a");
        ruWbh.addChild(ucCCq);
        CommonToken vwoBx = new CommonToken(JavadocTokenTypes.WS, " ");
        ruWbh.addChild(vwoBx);
        CommonToken fqkbz = new CommonToken(JavadocTokenTypes.CHAR, "t");
        ruWbh.addChild(fqkbz);
        CommonToken tDnUV = new CommonToken(JavadocTokenTypes.CHAR, "y");
        ruWbh.addChild(tDnUV);
        CommonToken zTKNB = new CommonToken(JavadocTokenTypes.CHAR, "p");
        ruWbh.addChild(zTKNB);
        CommonToken LEzJL = new CommonToken(JavadocTokenTypes.CHAR, "e");
        ruWbh.addChild(LEzJL);
        CommonToken KWDwS = new CommonToken(JavadocTokenTypes.WS, " ");
        ruWbh.addChild(KWDwS);
        LCIXU.addChild(ruWbh);
        CommonToken LTByZ = new CommonToken(JavadocTokenTypes.HTML_COMMENT_END, "-->");
        LCIXU.addChild(LTByZ);
        kbtaA.addChild(LCIXU);
        TextContext glSuR = new TextContext(kbtaA, 0);
        CommonToken QgXTG = new CommonToken(JavadocTokenTypes.WS, " ");
        glSuR.addChild(QgXTG);
        kbtaA.addChild(glSuR);
        HtmlElementContext oRcel = new HtmlElementContext(kbtaA, 0);
        HtmlTagContext UhfHH = new HtmlTagContext(oRcel, 0);
        HtmlElementOpenContext DedYq = new HtmlElementOpenContext(UhfHH, 0);
        CommonToken rhJNK = new CommonToken(JavadocTokenTypes.OPEN, "<");
        DedYq.addChild(rhJNK);
        CommonToken lpWPM = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "b");
        DedYq.addChild(lpWPM);
        CommonToken eUuDS = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        DedYq.addChild(eUuDS);
        UhfHH.addChild(DedYq);
        TextContext HiteM = new TextContext(UhfHH, 0);
        CommonToken SJbtR = new CommonToken(JavadocTokenTypes.CHAR, "S");
        HiteM.addChild(SJbtR);
        CommonToken PnWOY = new CommonToken(JavadocTokenTypes.CHAR, "t");
        HiteM.addChild(PnWOY);
        CommonToken QflON = new CommonToken(JavadocTokenTypes.CHAR, "r");
        HiteM.addChild(QflON);
        CommonToken MRxLQ = new CommonToken(JavadocTokenTypes.CHAR, "i");
        HiteM.addChild(MRxLQ);
        CommonToken zXygz = new CommonToken(JavadocTokenTypes.CHAR, "n");
        HiteM.addChild(zXygz);
        CommonToken weOIq = new CommonToken(JavadocTokenTypes.CHAR, "g");
        HiteM.addChild(weOIq);
        UhfHH.addChild(HiteM);
        HtmlElementCloseContext rNLDy = new HtmlElementCloseContext(UhfHH, 0);
        CommonToken tkpfX = new CommonToken(JavadocTokenTypes.OPEN, "<");
        rNLDy.addChild(tkpfX);
        CommonToken rKfgq = new CommonToken(JavadocTokenTypes.SLASH, "/");
        rNLDy.addChild(rKfgq);
        CommonToken OKZCw = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "b");
        rNLDy.addChild(OKZCw);
        CommonToken bZkaD = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        rNLDy.addChild(bZkaD);
        UhfHH.addChild(rNLDy);
        oRcel.addChild(UhfHH);
        kbtaA.addChild(oRcel);
        CommonToken jHAfX = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        kbtaA.addChild(jHAfX);
        return kbtaA;
    }
View Full Code Here

    {
        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

    setup(cu);
    registry.clearForType(JavaCompletionTypes.CUSTOM_TYPE);
    registry.clearForType(JavaCompletionTypes.FIELD);
    registry.clearForType(JavaCompletionTypes.NAME);
    Lexer lexer = new JavaLexer(new ANTLRInputStream(txt));
    CommonTokenStream tokens = new CommonTokenStream(lexer);

    // Create a parser that reads from the scanner
    JavaParser parser = new JavaParser(tokens);
    parser.removeErrorListeners();
   
View Full Code Here

        .openStream();
    ANTLRInputStream input = new ANTLRInputStream(is);
    MsonLexer lexer = new MsonLexer(input);
//    SymbolASTFactory factory = new SymbolASTFactory();
//    lexer.setTokenFactory(factory);
    CommonTokenStream tokens = new CommonTokenStream(lexer);
   
    MsonParser parser = new MsonParser(tokens);
//    parser.setTokenFactory(factory);
    parser.addErrorListener(new DiagnosticErrorListener());
    parser.getInterpreter().setPredictionMode(
View Full Code Here

//    lexer.setTokenFactory(factory);
    CommonTokenStream tokens = new CommonTokenStream(lexer);
   
    MsonParser parser = new MsonParser(tokens);
//    parser.setTokenFactory(factory);
    parser.addErrorListener(new DiagnosticErrorListener());
    parser.getInterpreter().setPredictionMode(
        PredictionMode.LL_EXACT_AMBIG_DETECTION);
    parser.setBuildParseTree(true);
    ParseTree tree = parser.mson();
    // show tree in text form
View Full Code Here

TOP

Related Classes of org.antlr.v4.runtime.CommonToken

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.