xjavadoc
Interface JavaParser

All Known Implementing Classes:
NodeParser, SimpleParser

interface JavaParser

Describe what this class does

Author:
Aslak Helles?y

Method Summary
 Token getToken(int i)
          Gets the Token attribute of the JavaParser object.
 void populate(SourceClass sourceClass)
          Populates the class by parsing its source.
 

Method Detail

populate

void populate(SourceClass sourceClass)
              throws ParseException
Populates the class by parsing its source.

Parameters:
sourceClass - the XClass object to populate
Throws:
ParseException - if the parsed file is not compliant with the Java grammar

getToken

Token getToken(int i)
Gets the Token attribute of the JavaParser object.

Parameters:
i - Describe what the parameter does
Returns:
The Token value