patrickp172 / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

Expression parsing #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would consider useful having a method to parse Strings and convert it 
directly to an statement or expression.. because many expressions and 
statements are necessary to build a simple getter or setter from the scratch. I 
suppose that in only consist of creating an specific grammar for these 
elements..using part of the hole Java language grammar..

Original issue reported on code.google.com by raquel...@gmail.com on 18 Jan 2012 at 9:54

GoogleCodeExporter commented 9 years ago
JavaParser could have methods like:
parseClass
parseMethod
parseExpression
etc.

Original comment by jges...@gmail.com on 18 Jan 2012 at 11:05