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


Definition at line 1263 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| ConditionAST () | |
| TypeSpecifierAST * | typeSpec () const |
| void | setTypeSpec (TypeSpecifierAST *typeSpec) |
| DeclaratorAST * | declarator () const |
| void | setDeclarator (DeclaratorAST *declarator) |
| AbstractExpressionAST * | expression () const |
| void | setExpression (AbstractExpressionAST *expression) |
Private Member Functions | |
| ConditionAST (const ConditionAST &source) | |
| void | operator= (const ConditionAST &source) |
Private Attributes | |
| TypeSpecifierAST * | m_typeSpec |
| DeclaratorAST * | m_declarator |
| AbstractExpressionAST * | m_expression |
| anonymous enum |
| ConditionAST::ConditionAST | ( | ) |
Definition at line 943 of file ast.cpp.
00944 : m_typeSpec(0), 00945 m_declarator(0), 00946 m_expression(0) 00947 { 00948 }
| ConditionAST::ConditionAST | ( | const ConditionAST & | source | ) | [private] |
| TypeSpecifierAST* ConditionAST::typeSpec | ( | ) | const [inline] |
Definition at line 1271 of file ast.h.
References m_typeSpec.
Referenced by TreeWalker::parseCondition(), and setTypeSpec().
01271 { return m_typeSpec; }
| void ConditionAST::setTypeSpec | ( | TypeSpecifierAST * | typeSpec | ) |
Definition at line 950 of file ast.cpp.
References m_typeSpec, AST::setParent(), and typeSpec().
Referenced by Parser::parseCondition().
00951 { 00952 m_typeSpec = typeSpec; 00953 if (m_typeSpec) m_typeSpec->setParent(this); 00954 }
Here is the call graph for this function:

| DeclaratorAST* ConditionAST::declarator | ( | ) | const [inline] |
Definition at line 1274 of file ast.h.
References m_declarator.
Referenced by TreeWalker::parseCondition(), and setDeclarator().
01274 { return m_declarator; }
| void ConditionAST::setDeclarator | ( | DeclaratorAST * | declarator | ) |
Definition at line 956 of file ast.cpp.
References declarator(), m_declarator, and AST::setParent().
Referenced by Parser::parseCondition().
00957 { 00958 m_declarator = declarator; 00959 if (m_declarator) m_declarator->setParent(this); 00960 }
Here is the call graph for this function:

| AbstractExpressionAST* ConditionAST::expression | ( | ) | const [inline] |
Definition at line 1277 of file ast.h.
References m_expression.
Referenced by TreeWalker::parseCondition(), and setExpression().
01277 { return m_expression; }
| void ConditionAST::setExpression | ( | AbstractExpressionAST * | expression | ) |
Definition at line 962 of file ast.cpp.
References expression(), m_expression, and AST::setParent().
Referenced by Parser::parseCondition().
00963 { 00964 m_expression = expression; 00965 if (m_expression) m_expression->setParent(this); 00966 }
Here is the call graph for this function:

| void ConditionAST::operator= | ( | const ConditionAST & | source | ) | [private] |
TypeSpecifierAST* ConditionAST::m_typeSpec [private] |
DeclaratorAST* ConditionAST::m_declarator [private] |
AbstractExpressionAST* ConditionAST::m_expression [private] |
1.5.1