My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
ExprAstNumber Class Reference

Class representing a number in the AST. More...

Inheritance diagram for ExprAstNumber:
ExprAst

Public Member Functions

 ExprAstNumber (int num)
 
int number () const
 
virtual TemplateVariant resolve (TemplateContext *)
 
- Public Member Functions inherited from ExprAst
virtual ~ExprAst ()
 

Private Attributes

int m_number
 

Detailed Description

Class representing a number in the AST.

Definition at line 1440 of file template.cpp.

Constructor & Destructor Documentation

ExprAstNumber::ExprAstNumber ( int  num)
inline

Definition at line 1443 of file template.cpp.

References TRACE.

: m_number(num)
{ TRACE(("ExprAstNumber(%d)\n",num)); }

Member Function Documentation

int ExprAstNumber::number ( ) const
inline

Definition at line 1445 of file template.cpp.

References m_number.

{ return m_number; }
virtual TemplateVariant ExprAstNumber::resolve ( TemplateContext )
inlinevirtual

Reimplemented from ExprAst.

Definition at line 1446 of file template.cpp.

References m_number.

Member Data Documentation

int ExprAstNumber::m_number
private

Definition at line 1448 of file template.cpp.

Referenced by number(), and resolve().


The documentation for this class was generated from the following file: