javancss.parser
Interface JavaParserInterface
- All Known Implementing Classes:
- JavaParser, JavaParser15, JavaParser15Debug, JavaParserDebug
public interface JavaParserInterface
parse
void parse()
throws Exception
- Throws:
Exception
parseImportUnit
void parseImportUnit()
throws Exception
- Throws:
Exception
getNcss
int getNcss()
getLOC
int getLOC()
getJvdc
int getJvdc()
getFunction
List getFunction()
getObject
List getObject()
- Returns:
- Top level classes in sorted order
getPackage
Map getPackage()
- Returns:
- The empty package consists of the name ".".
getImports
List getImports()
getPackageObjects
Object[] getPackageObjects()
- name, beginLine, ...
getLastFunction
String getLastFunction()
- if javancss is used with cat *.java a long
input stream might get generated, so line
number information in case of an parse exception
is not very useful.
Copyright © 1997-2011 Chr. Clemens Lee and companions. All Rights Reserved.