KDevelop API Documentation

FunctionDefinitionAST Class Reference

#include <ast.h>

Inheritance diagram for FunctionDefinitionAST:

DeclarationAST AST List of all members.

Public Types

typedef std::auto_ptr< FunctionDefinitionASTNode
enum  { Type = NodeType_FunctionDefinition }

Public Member Functions

 FunctionDefinitionAST ()
GroupASTfunctionSpecifier ()
void setFunctionSpecifier (GroupAST::Node &functionSpecifier)
GroupASTstorageSpecifier ()
void setStorageSpecifier (GroupAST::Node &storageSpecifier)
TypeSpecifierASTtypeSpec ()
void setTypeSpec (TypeSpecifierAST::Node &typeSpec)
InitDeclaratorASTinitDeclarator ()
void setInitDeclarator (InitDeclaratorAST::Node &initDeclarator)
StatementListASTfunctionBody ()
void setFunctionBody (StatementListAST::Node &functionBody)
GroupASTwinDeclSpec ()
void setWinDeclSpec (GroupAST::Node &winDeclSpec)

Private Member Functions

 FunctionDefinitionAST (const FunctionDefinitionAST &source)
void operator= (const FunctionDefinitionAST &source)

Private Attributes

GroupAST::Node m_functionSpecifier
GroupAST::Node m_storageSpecifier
TypeSpecifierAST::Node m_typeSpec
InitDeclaratorAST::Node m_initDeclarator
StatementListAST::Node m_functionBody
GroupAST::Node m_winDeclSpec

Member Typedef Documentation

typedef std::auto_ptr<FunctionDefinitionAST> FunctionDefinitionAST::Node
 

Reimplemented from DeclarationAST.

Definition at line 1380 of file ast.h.

Referenced by Parser::parseDeclarationInternal().


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 1381 of file ast.h.


Constructor & Destructor Documentation

FunctionDefinitionAST::FunctionDefinitionAST  ) 
 

Definition at line 759 of file ast.cpp.

FunctionDefinitionAST::FunctionDefinitionAST const FunctionDefinitionAST source  )  [private]
 


Member Function Documentation

StatementListAST* FunctionDefinitionAST::functionBody  )  [inline]
 

Definition at line 1400 of file ast.h.

Referenced by CppCodeCompletion::computeContext().

GroupAST* FunctionDefinitionAST::functionSpecifier  )  [inline]
 

Definition at line 1388 of file ast.h.

Referenced by TagCreator::parseFunctionDefinition(), and StoreWalker::parseFunctionDefinition().

InitDeclaratorAST* FunctionDefinitionAST::initDeclarator  )  [inline]
 

Definition at line 1397 of file ast.h.

Referenced by CppCodeCompletion::completeText(), CppCodeCompletion::computeContext(), TagCreator::parseFunctionDefinition(), StoreWalker::parseFunctionDefinition(), and scopeOfNode().

void FunctionDefinitionAST::operator= const FunctionDefinitionAST source  )  [private]
 

void FunctionDefinitionAST::setFunctionBody StatementListAST::Node functionBody  ) 
 

Definition at line 787 of file ast.cpp.

References m_functionBody, StatementListAST::Node, and setFunctionBody().

Referenced by setFunctionBody().

void FunctionDefinitionAST::setFunctionSpecifier GroupAST::Node functionSpecifier  ) 
 

Definition at line 763 of file ast.cpp.

References m_functionSpecifier, GroupAST::Node, and setFunctionSpecifier().

Referenced by setFunctionSpecifier().

void FunctionDefinitionAST::setInitDeclarator InitDeclaratorAST::Node initDeclarator  ) 
 

Definition at line 781 of file ast.cpp.

References m_initDeclarator, InitDeclaratorAST::Node, and setInitDeclarator().

Referenced by setInitDeclarator().

void FunctionDefinitionAST::setStorageSpecifier GroupAST::Node storageSpecifier  ) 
 

Definition at line 769 of file ast.cpp.

References m_storageSpecifier, and setStorageSpecifier().

Referenced by setStorageSpecifier().

void FunctionDefinitionAST::setTypeSpec TypeSpecifierAST::Node typeSpec  ) 
 

Definition at line 775 of file ast.cpp.

References m_typeSpec, TypeSpecifierAST::Node, and setTypeSpec().

Referenced by setTypeSpec().

void FunctionDefinitionAST::setWinDeclSpec GroupAST::Node winDeclSpec  ) 
 

Definition at line 793 of file ast.cpp.

References m_winDeclSpec, and setWinDeclSpec().

Referenced by setWinDeclSpec().

GroupAST* FunctionDefinitionAST::storageSpecifier  )  [inline]
 

Definition at line 1391 of file ast.h.

Referenced by TagCreator::parseFunctionDefinition(), and StoreWalker::parseFunctionDefinition().

TypeSpecifierAST* FunctionDefinitionAST::typeSpec  )  [inline]
 

Definition at line 1394 of file ast.h.

Referenced by TagCreator::parseFunctionDefinition(), and StoreWalker::parseFunctionDefinition().

GroupAST* FunctionDefinitionAST::winDeclSpec  )  [inline]
 

Definition at line 1403 of file ast.h.


Member Data Documentation

StatementListAST::Node FunctionDefinitionAST::m_functionBody [private]
 

Definition at line 1411 of file ast.h.

Referenced by setFunctionBody().

GroupAST::Node FunctionDefinitionAST::m_functionSpecifier [private]
 

Definition at line 1407 of file ast.h.

Referenced by setFunctionSpecifier().

InitDeclaratorAST::Node FunctionDefinitionAST::m_initDeclarator [private]
 

Definition at line 1410 of file ast.h.

Referenced by setInitDeclarator().

GroupAST::Node FunctionDefinitionAST::m_storageSpecifier [private]
 

Definition at line 1408 of file ast.h.

Referenced by setStorageSpecifier().

TypeSpecifierAST::Node FunctionDefinitionAST::m_typeSpec [private]
 

Definition at line 1409 of file ast.h.

Referenced by setTypeSpec().

GroupAST::Node FunctionDefinitionAST::m_winDeclSpec [private]
 

Definition at line 1412 of file ast.h.

Referenced by setWinDeclSpec().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003