ezEngine  Milestone 7
ezPreprocessor::ProcessingEvent Struct Reference

The event data that the processor broadcasts. More...

#include <Preprocessor.h>

Public Types

enum  EventType {
  BeginExpansion, EndExpansion, Error, Warning,
  CheckDefined, CheckIfdef, EvaluateUnknown
}
 The event types that the processor broadcasts. More...
 

Public Attributes

EventType m_Type
 
const ezTokenm_pToken
 
const char * m_szInfo
 

Detailed Description

The event data that the processor broadcasts.

Please note that m_pToken contains a lot of interesting information, such as the current file and line number and of course the current piece of text.

Member Enumeration Documentation

The event types that the processor broadcasts.

Enumerator
BeginExpansion 

A macro is now going to be expanded.

EndExpansion 

A macro is finished being expanded.

Error 

An error was encountered.

Warning 

A warning has been output.

CheckDefined 

A 'defined(X)' is being evaluated.

CheckIfdef 

A '#ifdef X' is being evaluated.

EvaluateUnknown 

Inside an #if an unknown identifier has been encountered, it will be evaluated as zero.


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