On 20/05/2016 12:23, Martin Grigorov wrote: > Hi, > > I guess your question is related to > http://markmail.org/message/kw4erakv272hsy3o where someone else already > told you about JavaCC. > AFAIK JavaCC is the only tool used by Tomcat that generates classes.
Martin is correct. Note: There was a brief time where we looked at using a JavaCC based parser for HTTP headers but the performance was poor. > The number of classes depends on the parser rules so it could be N today > and M tomorrow. Indeed. It is unlikely to change in any given major version once there is a stable release since the El specification won't change but occasionally, bug fixes do change the parser rules. > Just grep the sources for this header and use the returned number. +1. Mark > > > On Fri, May 20, 2016 at 12:01 PM, sangeeta lal <sangeeta.6...@gmail.com> > wrote: > >> Dear Sir, >> >> *Thanks for your reply!* >> >> Could you please tell me, if there is any listing about all the auto- >> generated files. I have manually identified 59 files in the folder " >> *tomcat\java\org\apache\el\parser*" which are auto generated. >> >> I have following two questions: >> >> 1. Can tomcat project have auto-generated files in some other folder also? >> 2. Is the "JavaCC" only tool which is used to auto-generate the files ? or >> there are some other tools as well? >> >> >> I highly *appreciate your help* and time! >> >> Thank You >> Sangeeta >> >> On Fri, May 20, 2016 at 3:14 PM, Martin Grigorov <mgrigo...@apache.org> >> wrote: >> >>> Hello Sangeeta, >>> >>> Yes, those files are auto-generated by a tool: https://javacc.java.net/. >>> >>> >>> On Fri, May 20, 2016 at 11:41 AM, sangeeta lal <sangeeta.6...@gmail.com> >>> wrote: >>> >>>> Dear Dev Team, >>>> >>>> Can anyone please give me little information about these files? >>>> >>>> Thank You >>>> >>>> On Thu, May 19, 2016 at 8:22 PM, sangeeta lal <sangeeta.6...@gmail.com >>> >>>> wrote: >>>> >>>>> >>>>> Dear Dev Team, >>>>> >>>>> >>>>> I am Sangeeta. I am a PhD Scholar in the area of automated software >>>>> engineering. I am currently studying source code of Apache Tomcat >>>> project. >>>>> While studying the source code. I noticed a folder in Apache Tomcat >>>> project >>>>> consisting of 58 files having following line written in them: >>>>> >>>>> >>>>> "/* *Generated By:JJTree: Do not edit this line. >>> AstLambdaExpression.java >>>>> Version 4.3 */"* >>>>> >>>>> >>>>> Can anyone please explain me little about the meaning of this line? >> Are >>>>> all such files generated by this tool have no contribution from the >>>> human >>>>> developers? >>>>> >>>>> I highly appreciate your help! >>>>> >>>>> Thanks You >>>>> Sangeeta >>>>> >>>>> -- >>>>> Regards... >>>>> Sangeeta >>>>> Assistant Professor >>>>> CSE Department @JIIT Noida >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards... >>>> Sangeeta >>>> Assistant Professor >>>> CSE Department @JIIT Noida >>>> >>> >> >> >> >> -- >> Regards... >> Sangeeta >> Assistant Professor >> CSE Department @JIIT Noida >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org