Package org.antlr.v4.runtime

Examples of org.antlr.v4.runtime.CommonToken


  @Test
  public void Process() throws IOException {
    InputStream is = CheckSymbols.class.getResource("/Mson.js")
        .openStream();
    ANTLRInputStream input = new ANTLRInputStream(is);
    MsonLexer lexer = new MsonLexer(input);
//    SymbolASTFactory factory = new SymbolASTFactory();
//    lexer.setTokenFactory(factory);
    CommonTokenStream tokens = new CommonTokenStream(lexer);
   
View Full Code Here


  @Test public void testOffChannel() throws Exception {
        TokenSource lexer = // simulate input " x =34  ;\n"
            new TokenSource() {
                int i = 0;
                WritableToken[] tokens = {
                    new CommonToken(1," ") {{channel = Lexer.HIDDEN;}},
                    new CommonToken(1,"x"),
                    new CommonToken(1," ") {{channel = Lexer.HIDDEN;}},
                    new CommonToken(1,"="),
                    new CommonToken(1,"34"),
                    new CommonToken(1," ") {{channel = Lexer.HIDDEN;}},
                    new CommonToken(1," ") {{channel = Lexer.HIDDEN;}},
                    new CommonToken(1,";"),
                    new CommonToken(1,"\n") {{channel = Lexer.HIDDEN;}},
                    new CommonToken(Token.EOF,"")
                };
                @Override
                public Token nextToken() {
                    return tokens[i++];
                }
View Full Code Here

    TokenSource lexer = // simulate input " x =34  ; \n"
                        // token indexes   01234 56789
      new TokenSource() {
        int i = 0;
        WritableToken[] tokens = {
        new CommonToken(1," ") {{channel = Lexer.HIDDEN;}}, // 0
        new CommonToken(1,"x"),                // 1
        new CommonToken(1," ") {{channel = Lexer.HIDDEN;}}// 2
        new CommonToken(1,"="),                // 3
        new CommonToken(1,"34"),              // 4
        new CommonToken(1," ") {{channel = Lexer.HIDDEN;}}// 5
        new CommonToken(1," ") {{channel = Lexer.HIDDEN;}}, // 6
        new CommonToken(1,";"),                // 7
        new CommonToken(1," ")  {{channel = Lexer.HIDDEN;}},// 8
        new CommonToken(1,"\n") {{channel = Lexer.HIDDEN;}},// 9
        new CommonToken(Token.EOF,"")            // 10
        };
        @Override
        public Token nextToken() {
          return tokens[i++];
        }
View Full Code Here

  public void testSingleEOF() throws Exception {
    TokenSource lexer = new TokenSource() {

      @Override
      public Token nextToken() {
        return new CommonToken(Token.EOF);
      }

      @Override
      public int getLine() {
        return 0;
View Full Code Here

  public void testCannotConsumeEOF() throws Exception {
    TokenSource lexer = new TokenSource() {

      @Override
      public Token nextToken() {
        return new CommonToken(Token.EOF);
      }

      @Override
      public int getLine() {
        return 0;
View Full Code Here

      return UNKNOWN_SOURCE_NAME;
    }

    @Override
    public Token LT(int i) {
      CommonToken t;
      int rawIndex = p + i - 1;
      if ( rawIndex>=types.size() ) t = new CommonToken(Token.EOF);
      else t = new CommonToken(types.get(rawIndex));
      t.setTokenIndex(rawIndex);
      return t;
    }
View Full Code Here

    {
        JavadocContext Rohae = new JavadocContext(null, 0);
        HtmlElementContext qazLp = new HtmlElementContext(Rohae, 0);
        HtmlTagContext tShZn = new HtmlTagContext(qazLp, 0);
        HtmlElementOpenContext mcNfy = new HtmlElementOpenContext(tShZn, 0);
        CommonToken skbCU = new CommonToken(JavadocTokenTypes.OPEN, "<");
        mcNfy.addChild(skbCU);
        CommonToken eOKbB = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "g");
        mcNfy.addChild(eOKbB);
        CommonToken kSmfa = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        mcNfy.addChild(kSmfa);
        tShZn.addChild(mcNfy);
        TextContext NyvuY = new TextContext(tShZn, 0);
        CommonToken vYGan = new CommonToken(JavadocTokenTypes.CHAR, "b");
        NyvuY.addChild(vYGan);
        CommonToken DjqdT = new CommonToken(JavadocTokenTypes.CHAR, "l");
        NyvuY.addChild(DjqdT);
        CommonToken jSNqm = new CommonToken(JavadocTokenTypes.CHAR, "a");
        NyvuY.addChild(jSNqm);
        CommonToken Sqmta = new CommonToken(JavadocTokenTypes.CHAR, "b");
        NyvuY.addChild(Sqmta);
        CommonToken ugpch = new CommonToken(JavadocTokenTypes.CHAR, "l");
        NyvuY.addChild(ugpch);
        CommonToken NIRMy = new CommonToken(JavadocTokenTypes.CHAR, "a");
        NyvuY.addChild(NIRMy);
        tShZn.addChild(NyvuY);
        HtmlElementCloseContext ttSqx = new HtmlElementCloseContext(tShZn, 0);
        CommonToken QJJgO = new CommonToken(JavadocTokenTypes.OPEN, "<");
        ttSqx.addChild(QJJgO);
        CommonToken tCdKm = new CommonToken(JavadocTokenTypes.SLASH, "/");
        ttSqx.addChild(tCdKm);
        CommonToken IvHnz = new CommonToken(JavadocTokenTypes.HTML_TAG_NAME, "g");
        ttSqx.addChild(IvHnz);
        CommonToken iudHS = new CommonToken(JavadocTokenTypes.CLOSE, ">");
        ttSqx.addChild(iudHS);
        tShZn.addChild(ttSqx);
        qazLp.addChild(tShZn);
        Rohae.addChild(qazLp);
        CommonToken okEpH = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        Rohae.addChild(okEpH);
        return Rohae;
    }
View Full Code Here

        return Rohae;
    }
    public static ParseTree treeTextBeforeJavadocTags()
    {
        JavadocContext gfEDH = new JavadocContext(null, 0);
        CommonToken rpeYD = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        gfEDH.addChild(rpeYD);
        CommonToken QCYfG = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gfEDH.addChild(QCYfG);
        TextContext tlLMb = new TextContext(gfEDH, 0);
        CommonToken JYrge = new CommonToken(JavadocTokenTypes.WS, " ");
        tlLMb.addChild(JYrge);
        CommonToken Vobgp = new CommonToken(JavadocTokenTypes.CHAR, "a");
        tlLMb.addChild(Vobgp);
        CommonToken BMvCq = new CommonToken(JavadocTokenTypes.WS, " ");
        tlLMb.addChild(BMvCq);
        CommonToken ZaeOY = new CommonToken(JavadocTokenTypes.CHAR, "b");
        tlLMb.addChild(ZaeOY);
        gfEDH.addChild(tlLMb);
        CommonToken csKKg = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        gfEDH.addChild(csKKg);
        CommonToken LxsKm = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gfEDH.addChild(LxsKm);
        TextContext Shhcm = new TextContext(gfEDH, 0);
        CommonToken DcHmn = new CommonToken(JavadocTokenTypes.WS, " ");
        Shhcm.addChild(DcHmn);
        CommonToken aQnuA = new CommonToken(JavadocTokenTypes.CHAR, "c");
        Shhcm.addChild(aQnuA);
        gfEDH.addChild(Shhcm);
        CommonToken QPmcl = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        gfEDH.addChild(QPmcl);
        CommonToken HETZU = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gfEDH.addChild(HETZU);
        CommonToken ZzZPO = new CommonToken(JavadocTokenTypes.WS, " ");
        gfEDH.addChild(ZzZPO);
        JavadocTagContext SjBMb = new JavadocTagContext(gfEDH, 0);
        CommonToken smqzs = new CommonToken(JavadocTokenTypes.SEE_LITERAL, "@see");
        SjBMb.addChild(smqzs);
        CommonToken bYsfI = new CommonToken(JavadocTokenTypes.WS, " ");
        SjBMb.addChild(bYsfI);
        ReferenceContext tWOgn = new ReferenceContext(SjBMb, 0);
        CommonToken yJSrg = new CommonToken(JavadocTokenTypes.CLASS, "Integer");
        tWOgn.addChild(yJSrg);
        SjBMb.addChild(tWOgn);
        CommonToken frxBx = new CommonToken(JavadocTokenTypes.WS, " ");
        SjBMb.addChild(frxBx);
        DescriptionContext HLhWc = new DescriptionContext(SjBMb, 0);
        TextContext VNWAJ = new TextContext(HLhWc, 0);
        CommonToken jjtPq = new CommonToken(JavadocTokenTypes.CHAR, "I");
        VNWAJ.addChild(jjtPq);
        CommonToken xOBWx = new CommonToken(JavadocTokenTypes.CHAR, "n");
        VNWAJ.addChild(xOBWx);
        CommonToken OGSiY = new CommonToken(JavadocTokenTypes.CHAR, "t");
        VNWAJ.addChild(OGSiY);
        HLhWc.addChild(VNWAJ);
        CommonToken FXyBf = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        HLhWc.addChild(FXyBf);
        SjBMb.addChild(HLhWc);
        gfEDH.addChild(SjBMb);
        CommonToken VVAcP = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gfEDH.addChild(VVAcP);
        CommonToken WjPJx = new CommonToken(JavadocTokenTypes.WS, " ");
        gfEDH.addChild(WjPJx);
        JavadocTagContext evKhl = new JavadocTagContext(gfEDH, 0);
        CommonToken jZLvn = new CommonToken(JavadocTokenTypes.AUTHOR_LITERAL, "@author");
        evKhl.addChild(jZLvn);
        CommonToken odstf = new CommonToken(JavadocTokenTypes.WS, " ");
        evKhl.addChild(odstf);
        DescriptionContext kLuAB = new DescriptionContext(evKhl, 0);
        TextContext bvsMR = new TextContext(kLuAB, 0);
        CommonToken fcFlB = new CommonToken(JavadocTokenTypes.CHAR, "W");
        bvsMR.addChild(fcFlB);
        CommonToken iZyOh = new CommonToken(JavadocTokenTypes.CHAR, "a");
        bvsMR.addChild(iZyOh);
        CommonToken TsXte = new CommonToken(JavadocTokenTypes.CHAR, "l");
        bvsMR.addChild(TsXte);
        CommonToken hdyiE = new CommonToken(JavadocTokenTypes.CHAR, "t");
        bvsMR.addChild(hdyiE);
        CommonToken OldJO = new CommonToken(JavadocTokenTypes.CHAR, "e");
        bvsMR.addChild(OldJO);
        CommonToken PYvdd = new CommonToken(JavadocTokenTypes.CHAR, "r");
        bvsMR.addChild(PYvdd);
        CommonToken caQfZ = new CommonToken(JavadocTokenTypes.WS, " ");
        bvsMR.addChild(caQfZ);
        CommonToken ktrNT = new CommonToken(JavadocTokenTypes.CHAR, "W");
        bvsMR.addChild(ktrNT);
        CommonToken VfpDF = new CommonToken(JavadocTokenTypes.CHAR, "h");
        bvsMR.addChild(VfpDF);
        CommonToken NtTSj = new CommonToken(JavadocTokenTypes.CHAR, "i");
        bvsMR.addChild(NtTSj);
        CommonToken iqUhK = new CommonToken(JavadocTokenTypes.CHAR, "t");
        bvsMR.addChild(iqUhK);
        CommonToken UHgfY = new CommonToken(JavadocTokenTypes.CHAR, "e");
        bvsMR.addChild(UHgfY);
        kLuAB.addChild(bvsMR);
        CommonToken LiOmQ = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        kLuAB.addChild(LiOmQ);
        evKhl.addChild(kLuAB);
        gfEDH.addChild(evKhl);
        CommonToken tiegF = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        gfEDH.addChild(tiegF);
        CommonToken ktgJS = new CommonToken(JavadocTokenTypes.WS, " ");
        gfEDH.addChild(ktgJS);
        JavadocTagContext WyRvi = new JavadocTagContext(gfEDH, 0);
        CommonToken yItAZ = new CommonToken(JavadocTokenTypes.AUTHOR_LITERAL, "@author");
        WyRvi.addChild(yItAZ);
        CommonToken VsNbv = new CommonToken(JavadocTokenTypes.WS, " ");
        WyRvi.addChild(VsNbv);
        DescriptionContext KadGv = new DescriptionContext(WyRvi, 0);
        TextContext fsYhy = new TextContext(KadGv, 0);
        CommonToken QLquB = new CommonToken(JavadocTokenTypes.CHAR, "J");
        fsYhy.addChild(QLquB);
        CommonToken tpwVU = new CommonToken(JavadocTokenTypes.CHAR, "o");
        fsYhy.addChild(tpwVU);
        CommonToken QvluV = new CommonToken(JavadocTokenTypes.CHAR, "h");
        fsYhy.addChild(QvluV);
        CommonToken cQlIs = new CommonToken(JavadocTokenTypes.CHAR, "n");
        fsYhy.addChild(cQlIs);
        CommonToken ZQDPr = new CommonToken(JavadocTokenTypes.WS, " ");
        fsYhy.addChild(ZQDPr);
        CommonToken WMWeU = new CommonToken(JavadocTokenTypes.CHAR, "S");
        fsYhy.addChild(WMWeU);
        CommonToken xXCnc = new CommonToken(JavadocTokenTypes.CHAR, "n");
        fsYhy.addChild(xXCnc);
        CommonToken BGIhA = new CommonToken(JavadocTokenTypes.CHAR, "o");
        fsYhy.addChild(BGIhA);
        CommonToken XmTzP = new CommonToken(JavadocTokenTypes.CHAR, "w");
        fsYhy.addChild(XmTzP);
        KadGv.addChild(fsYhy);
        CommonToken NhsCl = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        KadGv.addChild(NhsCl);
        TextContext TZrfl = new TextContext(KadGv, 0);
        CommonToken QLNbu = new CommonToken(JavadocTokenTypes.WS, " ");
        TZrfl.addChild(QLNbu);
        KadGv.addChild(TZrfl);
        WyRvi.addChild(KadGv);
        gfEDH.addChild(WyRvi);
        CommonToken cnrjp = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        gfEDH.addChild(cnrjp);
        return gfEDH;
    }
View Full Code Here

        return gfEDH;
    }
    public static ParseTree treeCustomJavadocTags()
    {
        JavadocContext vqeRv = new JavadocContext(null, 0);
        CommonToken kUYEj = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        vqeRv.addChild(kUYEj);
        CommonToken VOJHC = new CommonToken(JavadocTokenTypes.WS, " ");
        vqeRv.addChild(VOJHC);
        JavadocTagContext DYThx = new JavadocTagContext(vqeRv, 0);
        CommonToken ctenR = new CommonToken(JavadocTokenTypes.CUSTOM_NAME, "@myTag");
        DYThx.addChild(ctenR);
        CommonToken ObxYB = new CommonToken(JavadocTokenTypes.WS, " ");
        DYThx.addChild(ObxYB);
        DescriptionContext WuoxQ = new DescriptionContext(DYThx, 0);
        TextContext FaQUX = new TextContext(WuoxQ, 0);
        CommonToken fpyzz = new CommonToken(JavadocTokenTypes.CHAR, "y");
        FaQUX.addChild(fpyzz);
        CommonToken lbwtC = new CommonToken(JavadocTokenTypes.CHAR, "e");
        FaQUX.addChild(lbwtC);
        CommonToken xCpJd = new CommonToken(JavadocTokenTypes.CHAR, "s");
        FaQUX.addChild(xCpJd);
        CommonToken OOdfd = new CommonToken(JavadocTokenTypes.WS, " ");
        FaQUX.addChild(OOdfd);
        CommonToken jTWwf = new CommonToken(JavadocTokenTypes.CHAR, "i");
        FaQUX.addChild(jTWwf);
        CommonToken tYuft = new CommonToken(JavadocTokenTypes.CHAR, "t");
        FaQUX.addChild(tYuft);
        CommonToken Rjpiw = new CommonToken(JavadocTokenTypes.WS, " ");
        FaQUX.addChild(Rjpiw);
        CommonToken eumTC = new CommonToken(JavadocTokenTypes.CHAR, "i");
        FaQUX.addChild(eumTC);
        CommonToken SUdyR = new CommonToken(JavadocTokenTypes.CHAR, "s");
        FaQUX.addChild(SUdyR);
        WuoxQ.addChild(FaQUX);
        CommonToken ZcIzE = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        WuoxQ.addChild(ZcIzE);
        DYThx.addChild(WuoxQ);
        vqeRv.addChild(DYThx);
        CommonToken kMCCR = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        vqeRv.addChild(kMCCR);
        CommonToken pFtfc = new CommonToken(JavadocTokenTypes.WS, " ");
        vqeRv.addChild(pFtfc);
        JavadocTagContext mYbvf = new JavadocTagContext(vqeRv, 0);
        CommonToken JUVPH = new CommonToken(JavadocTokenTypes.CUSTOM_NAME, "@anotherTagWithoutParameter");
        mYbvf.addChild(JUVPH);
        CommonToken mDykX = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        mYbvf.addChild(mDykX);
        vqeRv.addChild(mYbvf);
        CommonToken oHnTB = new CommonToken(JavadocTokenTypes.LEADING_ASTERISK, " *");
        vqeRv.addChild(oHnTB);
        CommonToken aLlHU = new CommonToken(JavadocTokenTypes.WS, " ");
        vqeRv.addChild(aLlHU);
        JavadocTagContext MVTCW = new JavadocTagContext(vqeRv, 0);
        CommonToken ipxcL = new CommonToken(JavadocTokenTypes.AUTHOR_LITERAL, "@author");
        MVTCW.addChild(ipxcL);
        CommonToken AfLyL = new CommonToken(JavadocTokenTypes.WS, " ");
        MVTCW.addChild(AfLyL);
        DescriptionContext ZXuuK = new DescriptionContext(MVTCW, 0);
        TextContext uXOoV = new TextContext(ZXuuK, 0);
        CommonToken PzlFR = new CommonToken(JavadocTokenTypes.CHAR, "I");
        uXOoV.addChild(PzlFR);
        ZXuuK.addChild(uXOoV);
        CommonToken VNXPi = new CommonToken(JavadocTokenTypes.NEWLINE, "\n");
        ZXuuK.addChild(VNXPi);
        TextContext vUStO = new TextContext(ZXuuK, 0);
        CommonToken yLjDi = new CommonToken(JavadocTokenTypes.WS, " ");
        vUStO.addChild(yLjDi);
        ZXuuK.addChild(vUStO);
        MVTCW.addChild(ZXuuK);
        vqeRv.addChild(MVTCW);
        CommonToken QNmAS = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        vqeRv.addChild(QNmAS);
        return vqeRv;
    }
View Full Code Here

    }
    public static ParseTree treeJavadocTagDescriptionWithInlineTags()
    {
        JavadocContext ckejg = new JavadocContext(null, 0);
        JavadocTagContext HBaud = new JavadocTagContext(ckejg, 0);
        CommonToken YeyWs = new CommonToken(JavadocTokenTypes.DEPRECATED_LITERAL, "@deprecated");
        HBaud.addChild(YeyWs);
        CommonToken plGhl = new CommonToken(JavadocTokenTypes.WS, " ");
        HBaud.addChild(plGhl);
        DescriptionContext roovx = new DescriptionContext(HBaud, 0);
        TextContext lCvIq = new TextContext(roovx, 0);
        CommonToken OlFdS = new CommonToken(JavadocTokenTypes.CHAR, "u");
        lCvIq.addChild(OlFdS);
        CommonToken lCAos = new CommonToken(JavadocTokenTypes.CHAR, "s");
        lCvIq.addChild(lCAos);
        CommonToken hqFBO = new CommonToken(JavadocTokenTypes.CHAR, "e");
        lCvIq.addChild(hqFBO);
        CommonToken DWiAh = new CommonToken(JavadocTokenTypes.WS, " ");
        lCvIq.addChild(DWiAh);
        roovx.addChild(lCvIq);
        JavadocInlineTagContext FVbYW = new JavadocInlineTagContext(roovx, 0);
        CommonToken nHbXu = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        FVbYW.addChild(nHbXu);
        CommonToken jmpgq = new CommonToken(JavadocTokenTypes.LINK_LITERAL, "@link");
        FVbYW.addChild(jmpgq);
        CommonToken MDzSX = new CommonToken(JavadocTokenTypes.WS, " ");
        FVbYW.addChild(MDzSX);
        ReferenceContext HMaDA = new ReferenceContext(FVbYW, 0);
        CommonToken Jhqym = new CommonToken(JavadocTokenTypes.PACKAGE, "java.lang");
        HMaDA.addChild(Jhqym);
        CommonToken PLrXL = new CommonToken(JavadocTokenTypes.DOT, ".");
        HMaDA.addChild(PLrXL);
        CommonToken ktXCU = new CommonToken(JavadocTokenTypes.CLASS, "Integer");
        HMaDA.addChild(ktXCU);
        FVbYW.addChild(HMaDA);
        DescriptionContext ztrDY = new DescriptionContext(FVbYW, 0);
        TextContext IGcNX = new TextContext(ztrDY, 0);
        CommonToken CyJjh = new CommonToken(JavadocTokenTypes.WS, " ");
        IGcNX.addChild(CyJjh);
        CommonToken YZFRh = new CommonToken(JavadocTokenTypes.CHAR, "I");
        IGcNX.addChild(YZFRh);
        CommonToken uuLgj = new CommonToken(JavadocTokenTypes.CHAR, "n");
        IGcNX.addChild(uuLgj);
        CommonToken hKAOH = new CommonToken(JavadocTokenTypes.CHAR, "t");
        IGcNX.addChild(hKAOH);
        CommonToken XeMhP = new CommonToken(JavadocTokenTypes.CHAR, "e");
        IGcNX.addChild(XeMhP);
        CommonToken JWZxb = new CommonToken(JavadocTokenTypes.CHAR, "g");
        IGcNX.addChild(JWZxb);
        CommonToken sXOYk = new CommonToken(JavadocTokenTypes.CHAR, "e");
        IGcNX.addChild(sXOYk);
        CommonToken NZnjU = new CommonToken(JavadocTokenTypes.CHAR, "r");
        IGcNX.addChild(NZnjU);
        ztrDY.addChild(IGcNX);
        JavadocInlineTagContext nUzga = new JavadocInlineTagContext(ztrDY, 0);
        CommonToken CRuAH = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_START, "{");
        nUzga.addChild(CRuAH);
        CommonToken ZzRot = new CommonToken(JavadocTokenTypes.CODE_LITERAL, "@code");
        nUzga.addChild(ZzRot);
        CommonToken hzHqq = new CommonToken(JavadocTokenTypes.WS, " ");
        nUzga.addChild(hzHqq);
        TextContext zSjXd = new TextContext(nUzga, 0);
        CommonToken KTIhG = new CommonToken(JavadocTokenTypes.CHAR, "<");
        zSjXd.addChild(KTIhG);
        CommonToken oDeiQ = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zSjXd.addChild(oDeiQ);
        CommonToken bCRuf = new CommonToken(JavadocTokenTypes.CHAR, ">");
        zSjXd.addChild(bCRuf);
        CommonToken WyGtD = new CommonToken(JavadocTokenTypes.CHAR, "W");
        zSjXd.addChild(WyGtD);
        CommonToken BUUWH = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zSjXd.addChild(BUUWH);
        CommonToken gBlIs = new CommonToken(JavadocTokenTypes.CHAR, "t");
        zSjXd.addChild(gBlIs);
        CommonToken LIhFs = new CommonToken(JavadocTokenTypes.CHAR, "<");
        zSjXd.addChild(LIhFs);
        CommonToken uovUc = new CommonToken(JavadocTokenTypes.CHAR, "/");
        zSjXd.addChild(uovUc);
        CommonToken DZKDL = new CommonToken(JavadocTokenTypes.CHAR, "a");
        zSjXd.addChild(DZKDL);
        CommonToken gYaGe = new CommonToken(JavadocTokenTypes.CHAR, ">");
        zSjXd.addChild(gYaGe);
        nUzga.addChild(zSjXd);
        CommonToken FlbFQ = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        nUzga.addChild(FlbFQ);
        ztrDY.addChild(nUzga);
        FVbYW.addChild(ztrDY);
        CommonToken SwxUk = new CommonToken(JavadocTokenTypes.JAVADOC_INLINE_TAG_END, "}");
        FVbYW.addChild(SwxUk);
        roovx.addChild(FVbYW);
        TextContext oGDof = new TextContext(roovx, 0);
        CommonToken fWqMz = new CommonToken(JavadocTokenTypes.WS, " ");
        oGDof.addChild(fWqMz);
        CommonToken HoYCn = new CommonToken(JavadocTokenTypes.CHAR, "i");
        oGDof.addChild(HoYCn);
        CommonToken dkbfF = new CommonToken(JavadocTokenTypes.CHAR, "n");
        oGDof.addChild(dkbfF);
        CommonToken TBKXz = new CommonToken(JavadocTokenTypes.CHAR, "s");
        oGDof.addChild(TBKXz);
        CommonToken RTDDh = new CommonToken(JavadocTokenTypes.CHAR, "t");
        oGDof.addChild(RTDDh);
        CommonToken IonJK = new CommonToken(JavadocTokenTypes.CHAR, "e");
        oGDof.addChild(IonJK);
        CommonToken JSCTa = new CommonToken(JavadocTokenTypes.CHAR, "a");
        oGDof.addChild(JSCTa);
        CommonToken waeey = new CommonToken(JavadocTokenTypes.CHAR, "d");
        oGDof.addChild(waeey);
        roovx.addChild(oGDof);
        HBaud.addChild(roovx);
        ckejg.addChild(HBaud);
        CommonToken mDnxb = new CommonToken(JavadocTokenTypes.EOF, "<EOF>");
        ckejg.addChild(mDnxb);
        return ckejg;
    }
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.