ConditionAST Class Reference
#include <ast.h>
Inheritance diagram for ConditionAST:

Public Types | |
typedef std::auto_ptr< ConditionAST > | Node |
enum | { Type = NodeType_Condition } |
Public Member Functions | |
ConditionAST () | |
TypeSpecifierAST * | typeSpec () |
void | setTypeSpec (TypeSpecifierAST::Node &typeSpec) |
DeclaratorAST * | declarator () |
void | setDeclarator (DeclaratorAST::Node &declarator) |
AST * | expression () |
void | setExpression (AST::Node &expression) |
Private Member Functions | |
ConditionAST (const ConditionAST &source) | |
void | operator= (const ConditionAST &source) |
Private Attributes | |
TypeSpecifierAST::Node | m_typeSpec |
DeclaratorAST::Node | m_declarator |
AST::Node | m_expression |
Member Typedef Documentation
|
Reimplemented from AST. Definition at line 1164 of file ast.h. Referenced by Parser::parseCondition(), SwitchStatementAST::setCondition(), ForStatementAST::setCondition(), DoStatementAST::setCondition(), WhileStatementAST::setCondition(), and IfStatementAST::setCondition(). |
Member Enumeration Documentation
|
|
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Definition at line 1175 of file ast.h. Referenced by CppCodeCompletion::computeContext(). |
|
|
|
|
|
Definition at line 1166 of file ast.cpp. References m_declarator, DeclaratorAST::Node, and setDeclarator(). Referenced by setDeclarator(). |
|
Definition at line 1172 of file ast.cpp. References m_expression, AST::Node, and setExpression(). Referenced by setExpression(). |
|
Definition at line 1160 of file ast.cpp. References m_typeSpec, TypeSpecifierAST::Node, and setTypeSpec(). Referenced by setTypeSpec(). |
|
Definition at line 1172 of file ast.h. Referenced by CppCodeCompletion::computeContext(). |
Member Data Documentation
|
Definition at line 1183 of file ast.h. Referenced by setDeclarator(). |
|
Definition at line 1184 of file ast.h. Referenced by setExpression(). |
|
Definition at line 1182 of file ast.h. Referenced by setTypeSpec(). |
The documentation for this class was generated from the following files: