IncrDecrAST Class Reference

#include <ast.h>

Inheritance diagram for IncrDecrAST:

Inheritance graph
[legend]
Collaboration diagram for IncrDecrAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 404 of file ast.h.

Public Types

enum  

Public Member Functions

 IncrDecrAST ()
ASTop () const
AbstractExpressionASTexpression () const
void setOp (AST *op)
void setExpression (AbstractExpressionAST *expression)

Private Member Functions

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

Private Attributes

ASTm_op
AbstractExpressionASTm_expression


Member Enumeration Documentation

anonymous enum

Definition at line 407 of file ast.h.

00407 { Type = NodeType_IncrDecr };


Constructor & Destructor Documentation

IncrDecrAST::IncrDecrAST (  ) 

Definition at line 1145 of file ast.cpp.

01146     : m_op(0), m_expression(0)
01147 {
01148 }

IncrDecrAST::IncrDecrAST ( const IncrDecrAST source  )  [private]


Member Function Documentation

AST* IncrDecrAST::op (  )  const [inline]

Definition at line 412 of file ast.h.

References m_op.

Referenced by setOp().

00413     { return m_op; }

AbstractExpressionAST* IncrDecrAST::expression (  )  const [inline]

Definition at line 415 of file ast.h.

References m_expression.

Referenced by setExpression().

00416     { return m_expression; }

void IncrDecrAST::setOp ( AST op  ) 

Definition at line 1150 of file ast.cpp.

References m_op, op(), and AST::setParent().

Referenced by Parser::parsePostfixExpressionInternal().

01151 {
01152     m_op = op;
01153     if (m_op)
01154         m_op->setParent(this);
01155 }

Here is the call graph for this function:

void IncrDecrAST::setExpression ( AbstractExpressionAST expression  ) 

Definition at line 1157 of file ast.cpp.

References expression(), m_expression, and AST::setParent().

Referenced by Parser::parsePostfixExpressionInternal().

01158 {
01159     m_expression = expression;
01160     if (m_expression)
01161         m_expression->setParent(this);
01162 }

Here is the call graph for this function:

void IncrDecrAST::operator= ( const IncrDecrAST source  )  [private]


Member Data Documentation

AST* IncrDecrAST::m_op [private]

Definition at line 422 of file ast.h.

Referenced by op(), and setOp().

AbstractExpressionAST* IncrDecrAST::m_expression [private]

Definition at line 423 of file ast.h.

Referenced by expression(), and setExpression().


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 15:05:28 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1