cppncss.counter
Class FunctionNameExtractor

java.lang.Object
  extended by cppast.AbstractVisitor
      extended by cppncss.counter.FunctionNameExtractor
All Implemented Interfaces:
ParserVisitor

public final class FunctionNameExtractor
extends AbstractVisitor

Provides a visitor implementation to extract a function name.

Author:
Mathieu Champlon

Constructor Summary
FunctionNameExtractor()
           
 
Method Summary
 java.lang.Object visit(AstFunctionBody node, java.lang.Object data)
          
 java.lang.Object visit(AstFunctionName node, java.lang.Object data)
          
 java.lang.Object visit(AstFunctionParameters node, java.lang.Object data)
          
 java.lang.Object visit(AstFunctionPointerPostfix node, java.lang.Object data)
          
 java.lang.Object visit(AstParameterType node, java.lang.Object data)
          
 java.lang.Object visit(AstParameterTypeQualifier 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionNameExtractor

public FunctionNameExtractor()
Method Detail

visit

public java.lang.Object visit(AstFunctionName node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor

visit

public java.lang.Object visit(AstFunctionParameters node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor

visit

public java.lang.Object visit(AstParameterType node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor

visit

public java.lang.Object visit(AstParameterTypeQualifier node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor

visit

public java.lang.Object visit(AstFunctionBody node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor

visit

public java.lang.Object visit(AstFunctionPointerPostfix node,
                              java.lang.Object data)

Specified by:
visit in interface ParserVisitor
Overrides:
visit in class AbstractVisitor


Copyright © 2006-2007 null. All Rights Reserved.