|
||||||||||
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.CcnCounter
public final class CcnCounter
Implements a CCN counter.
Constructor Summary | |
---|---|
CcnCounter(CounterObserver observer)
Create a CCN counter. |
Method Summary | |
---|---|
java.lang.Object |
visit(AstCaseStatement node,
java.lang.Object data)
|
java.lang.Object |
visit(AstCatchBlock node,
java.lang.Object data)
|
java.lang.Object |
visit(AstConditionalExpression node,
java.lang.Object data)
|
java.lang.Object |
visit(AstFunctionBody 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(AstLogicalAndExpression node,
java.lang.Object data)
|
java.lang.Object |
visit(AstLogicalOrExpression 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, 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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Constructor Detail |
---|
public CcnCounter(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(AstIfStatement 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(AstCaseStatement 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(AstLogicalAndExpression node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstLogicalOrExpression node, java.lang.Object data)
visit
in interface ParserVisitor
visit
in class AbstractVisitor
public java.lang.Object visit(AstConditionalExpression 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 |