xjavadoc

Interface JavaParser

Known Implementing Classes:
NodeParser, SimpleParser

(package private) 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 Details

getToken

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

Parameters:
i - Describe what the parameter does

Returns:
The Token value


populate

public 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