Ogre::ScriptLexer Class Reference

#include <OgreScriptLexer.h>

Inheritance diagram for Ogre::ScriptLexer:

Public Member Functions

 ScriptLexer ()
virtual ~ScriptLexer ()
void operator delete (void *ptr)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete (void *ptr, void *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)
void * operator new (size_t sz)
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
ScriptTokenListPtr tokenize (const String &str, const String &source)
 Tokenizes the given input and returns the list of tokens found.

Private Member Functions

bool isNewline (Ogre::String::value_type c) const
bool isWhitespace (Ogre::String::value_type c) const
void setToken (const String &lexeme, uint32 line, const String &source, ScriptTokenList *tokens)

Detailed Description

Definition at line 78 of file OgreScriptLexer.h.

Constructor & Destructor Documentation

◆ ScriptLexer()

Ogre::ScriptLexer::ScriptLexer ( )

◆ ~ScriptLexer()

virtual Ogre::ScriptLexer::~ScriptLexer ( )
virtual

Definition at line 82 of file OgreScriptLexer.h.

Member Function Documentation

◆ isNewline()

bool Ogre::ScriptLexer::isNewline ( Ogre::String::value_type c) const
private

◆ isWhitespace()

bool Ogre::ScriptLexer::isWhitespace ( Ogre::String::value_type c) const
private

◆ operator delete() [1/3]

void Ogre::AllocatedObject< ScriptingAllocPolicy >::operator delete ( void * ptr)
inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/3]

void Ogre::AllocatedObject< ScriptingAllocPolicy >::operator delete ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

void Ogre::AllocatedObject< ScriptingAllocPolicy >::operator delete ( void * ptr,
void *  )
inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [1/2]

void Ogre::AllocatedObject< ScriptingAllocPolicy >::operator delete[] ( void * ptr)
inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [2/2]

void Ogre::AllocatedObject< ScriptingAllocPolicy >::operator delete[] ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/3]

void * Ogre::AllocatedObject< ScriptingAllocPolicy >::operator new ( size_t sz)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/3]

void * Ogre::AllocatedObject< ScriptingAllocPolicy >::operator new ( size_t sz,
const char * file,
int line,
const char * func )
inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [3/3]

void * Ogre::AllocatedObject< ScriptingAllocPolicy >::operator new ( size_t sz,
void * ptr )
inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [1/2]

void * Ogre::AllocatedObject< ScriptingAllocPolicy >::operator new[] ( size_t sz)
inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [2/2]

void * Ogre::AllocatedObject< ScriptingAllocPolicy >::operator new[] ( size_t sz,
const char * file,
int line,
const char * func )
inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

◆ setToken()

void Ogre::ScriptLexer::setToken ( const String & lexeme,
uint32 line,
const String & source,
ScriptTokenList * tokens )
private

◆ tokenize()

ScriptTokenListPtr Ogre::ScriptLexer::tokenize ( const String & str,
const String & source )

Tokenizes the given input and returns the list of tokens found.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.