|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cppast.AbstractVisitor cppncss.counter.AbstractCounter cppncss.counter.NcssCounter
public final class NcssCounter
Implements a NCSS counter.
Constructor Summary | |
---|---|
NcssCounter(CounterObserver observer)
Create a NCSS counter. |
Method Summary | |
---|---|
java.lang.Object |
visit(AstBreakStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstCaseStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstCatchBlock node,
java.lang.Object data)
|
java.lang.Object |
visit(AstConstructorDeclaration node,
java.lang.Object data)
|
java.lang.Object |
visit(AstConstructorInitializer node,
java.lang.Object data)
|
java.lang.Object |
visit(AstContinueStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstDeclaration node,
java.lang.Object data)
|
java.lang.Object |
visit(AstDeclarationStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstDefaultStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstDestructorDeclaration node,
java.lang.Object data)
|
java.lang.Object |
visit(AstElseStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstExpressionStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstFunctionBody node,
java.lang.Object data)
|
java.lang.Object |
visit(AstFunctionDeclaration node,
java.lang.Object data)
|
java.lang.Object |
visit(AstGotoStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstIfStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstIterationStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstLabelStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstMemberDeclaration node,
java.lang.Object data)
|
java.lang.Object |
visit(AstNamespaceDefinition node,
java.lang.Object data)
|
java.lang.Object |
visit(AstReturnStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstSwitchStatement node,
java.lang.Object data)
|
Methods inherited from class cppncss.counter.AbstractCounter |
---|
flush, increment |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cppast.ParserVisitor |
---|
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 |
Constructor Detail |
---|
public NcssCounter(CounterObserver observer)
observer
- a counter observerMethod Detail |
---|
public java.lang.Object visit(AstFunctionBody node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstConstructorInitializer node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstDeclarationStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstExpressionStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstIfStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstElseStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstIterationStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstSwitchStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstGotoStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstBreakStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstContinueStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstReturnStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstLabelStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstCaseStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstDefaultStatement node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstCatchBlock node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstNamespaceDefinition node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstDeclaration node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstMemberDeclaration node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstFunctionDeclaration node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstConstructorDeclaration node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstDestructorDeclaration node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |