Public Types | Public Member Functions | Public Attributes

preprocessor_data::token_desc Struct Reference

Description of a preprocessing chunk. More...

List of all members.

Public Types

enum  TOKEN_TYPE {
  START, PROCESS_IF, PROCESS_ELSE, SKIP_IF,
  SKIP_ELSE, STRING, VERBATIM, MACRO_SPACE,
  MACRO_CHUNK, MACRO_PARENS
}

Public Member Functions

 token_desc (TOKEN_TYPE type, const int stack_pos, const int linenum)

Public Attributes

TOKEN_TYPE type
int stack_pos
 Starting position in strings_ of the delayed text for this chunk.
int linenum

Detailed Description

Description of a preprocessing chunk.

Definition at line 416 of file preprocessor.cpp.


Member Enumeration Documentation

Enumerator:
START 
PROCESS_IF 
PROCESS_ELSE 
SKIP_IF 
SKIP_ELSE 
STRING 
VERBATIM 
MACRO_SPACE 
MACRO_CHUNK 
MACRO_PARENS 

Definition at line 418 of file preprocessor.cpp.


Constructor & Destructor Documentation

preprocessor_data::token_desc::token_desc ( TOKEN_TYPE  type,
const int  stack_pos,
const int  linenum 
) [inline]

Definition at line 430 of file preprocessor.cpp.


Member Data Documentation

Definition at line 439 of file preprocessor.cpp.

Referenced by preprocessor_data::get_chunk().

Starting position in strings_ of the delayed text for this chunk.

Definition at line 438 of file preprocessor.cpp.

Referenced by preprocessor_data::get_chunk().

Definition at line 436 of file preprocessor.cpp.

Referenced by preprocessor_data::get_chunk().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:13:43 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs