Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::TokenBase Class Reference

#include <Token.h>


Detailed Description

Definition at line 9 of file Token.h.

List of all members.

Public Member Functions

 TokenBase ()
 Constructor.
 TokenBase (const TokenBase &kToken)
 Copy constructor.
virtual ~TokenBase ()
 Destructor.
TokenBaseoperator= (const TokenBase &kToken)
 Assignment operator.
bool isKeywordToken () const
bool isStringToken () const
 Returns whether or not an instance is a string token.
bool isNumericToken () const
 Returns whether or not an instance is a numeric token.
const std::string & getKeywordData () const
const std::string & getStringData () const
 Returns the string data of a StringToken instance.
const floatgetNumericData () const
 Returns the numeric data of a NumericToken instance.

Constructor & Destructor Documentation

Kodu::TokenBase::TokenBase (  ) 

Constructor.

Definition at line 12 of file Token.h.

Kodu::TokenBase::TokenBase ( const TokenBase kToken  )  [explicit]

Copy constructor.

Definition at line 17 of file Token.h.

virtual Kodu::TokenBase::~TokenBase (  )  [virtual]

Destructor.

Definition at line 22 of file Token.h.


Member Function Documentation

const float & Kodu::TokenBase::getNumericData (  )  const

Returns the numeric data of a NumericToken instance.

Definition at line 21 of file Token.cc.

const std::string & Kodu::TokenBase::getStringData (  )  const

Returns the string data of a StringToken instance.

Definition at line 25 of file Token.cc.

bool Kodu::TokenBase::isKeywordToken (  )  const
bool Kodu::TokenBase::isNumericToken (  )  const

Returns whether or not an instance is a numeric token.

Definition at line 9 of file Token.cc.

Referenced by Kodu::Parser::KodeCreator::isNumericSpecifier().

bool Kodu::TokenBase::isStringToken (  )  const

Returns whether or not an instance is a string token.

Definition at line 13 of file Token.cc.

TokenBase& Kodu::TokenBase::operator= ( const TokenBase kToken  ) 

Assignment operator.

Definition at line 27 of file Token.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3