|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.parser.Parser
Abstract super class for parsers connected to Fujaba
0..1 currentParser 0..1 Parser <---------------------------------- ParserManager currentParser parserManager 0..n parsers 0..1 Parser ---------------------------- ParserManager parsers parserManager
Constructor Summary | |
Parser()
|
Method Summary | |
abstract void |
addParserPostProcessor(ParserPostProcessor parserPostProcessor)
Access method for a To N-association. |
ParserManager |
getParserManager()
Get the parserManager attribute of the Parser object |
abstract FFile |
parseCompilationUnit(java.lang.String filename,
java.io.Reader reader)
Parses the compilation unit and returns the abstract syntax graph (ASG) with an FFile as root. |
abstract void |
parseFiles(java.util.HashSet files)
Parses the given files. |
abstract ASTRootNode |
parseMethodBody(FMethod fMethod)
Parses the given method body and returns the root node of the abstract syntax tree. |
abstract void |
removeParserPostProcessor(ParserPostProcessor parserPostProcessor)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
setParserManager(ParserManager value)
Sets the parserManager attribute of the Parser object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Parser()
Method Detail |
public abstract void parseFiles(java.util.HashSet files)
files
- The files to be parsedpublic abstract FFile parseCompilationUnit(java.lang.String filename, java.io.Reader reader)
filename
- The name of the file to be parsedreader
- An input reader
public abstract ASTRootNode parseMethodBody(FMethod fMethod)
fMethod
- The method/constructor to be parsed
public abstract void addParserPostProcessor(ParserPostProcessor parserPostProcessor)
parserPostProcessor
- The object added.public abstract void removeParserPostProcessor(ParserPostProcessor parserPostProcessor)
parserPostProcessor
- No description providedpublic ParserManager getParserManager()
public boolean setParserManager(ParserManager value)
value
- The new parserManager value
public void removeYou()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |