|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cppast.AbstractVisitor cppncss.counter.FileVisitor
public final class FileVisitor
Implements a visitor for files.
Constructor Summary | |
---|---|
FileVisitor(Counter counter)
Create a function visitor. |
Method Summary | |
---|---|
void |
changed(java.lang.String filename)
Specify the file being processed. |
java.lang.Object |
visit(AstTranslationUnit node,
java.lang.Object data)
|
Methods inherited from class cppast.AbstractVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileVisitor(Counter counter)
counter
- the counter to applyMethod Detail |
---|
public java.lang.Object visit(AstTranslationUnit node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public void changed(java.lang.String filename)
changed
in interface FileObserver
filename
- the name of the fle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |