ASTParser Doesn't work
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, March 19, 2007 12:36 AM

Hi all, I have my own plugin but when i am using that plugin some error came from line no 1. 1.ASTParser parser = ASTParser.newParser(AST.JLS3); 2.parser.setKind(ASTParser.K_COMPILATION_UNIT); 3.parser.setSource(cs); 4.parser.setResolveBindings(true); 5.CompilationUnit cu = parser.createAST(new NullProgressMonitor()); I am using Eclipse-3.2.2 previously i was using 3.2.1 then migrate to 3.2.2 but still getting same error. If you have solution please help me. Thanks, vinay    More>>


Hi all,

I have my own plugin but when i am using that plugin some
error came from line no 1.


1.ASTParser parser = ASTParser.newParser(AST.JLS3);

2.parser.setKind(ASTParser.K_COMPILATION_UNIT);

3.parser.setSource(cs);

4.parser.setResolveBindings(true);

5.CompilationUnit cu = parser.createAST(new NullProgressMonitor());


I am using Eclipse-3.2.2 previously i was using 3.2.1 then migrate to 3.2.2 but still getting same error.

If you have solution please help me.


Thanks,

vinay

   <<Less
About | Sitemap | Contact