preprocessor Class Reference

Inheritance diagram for preprocessor:

Inheritance graph
[legend]
Collaboration diagram for preprocessor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool get_chunk ()=0
virtual ~preprocessor ()

Protected Member Functions

 preprocessor (preprocessor_streambuf &, std::vector< std::string > *)
 preprocessor

Protected Attributes

preprocessor_streambuftarget_
std::vector< std::string > * called_macros_

Private Attributes

preprocessor *const old_preprocessor_
std::string old_textdomain_
std::string old_location_
int old_linenum_


Detailed Description

Definition at line 49 of file preprocessor.cpp.


Constructor & Destructor Documentation

preprocessor::preprocessor ( preprocessor_streambuf t,
std::vector< std::string > *  callstack 
) [protected]

preprocessor

This is the base class for all input to be parsed by the preprocessor. When initialized, it will inform the stream (target_) that it is the current scope. When it reaches its end of its scope, the stream will delete it, and when it is deleted, it will manage the stream to cause the previous scope to resume.

Definition at line 209 of file preprocessor.cpp.

References preprocessor_streambuf::current_, preprocessor_streambuf::depth_, and target_.

preprocessor::~preprocessor (  )  [virtual]


Member Function Documentation

virtual bool preprocessor::get_chunk (  )  [pure virtual]


Member Data Documentation

Definition at line 51 of file preprocessor.cpp.

Referenced by ~preprocessor().

std::string preprocessor::old_textdomain_ [private]

Definition at line 52 of file preprocessor.cpp.

Referenced by ~preprocessor().

std::string preprocessor::old_location_ [private]

Definition at line 53 of file preprocessor.cpp.

Referenced by ~preprocessor().

Definition at line 54 of file preprocessor.cpp.

Referenced by ~preprocessor().

std::vector<std::string>* preprocessor::called_macros_ [protected]


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs