zenilib: pp::MacroExpander Class Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
pp::MacroExpander Class Reference

`#include <MacroExpander.h>`

Inherits pp::Lexer.

## Public Member Functions

| MacroExpander (Lexer *lexer, MacroSet *macroSet, Diagnostics *diagnostics)
virtual | ~MacroExpander ()
virtual void | lex (Token *token)
Public Member Functions inherited from pp::Lexer
virtual | ~Lexer ()

## Detailed Description

Definition at line 23 of file MacroExpander.h.

## Constructor & Destructor Documentation

pp::MacroExpander::MacroExpander | ( | Lexer * | lexer,
|  | MacroSet * | macroSet,
|  | Diagnostics * | diagnostics
| ) |  |

Definition at line 49 of file MacroExpander.cpp.

pp::MacroExpander::~MacroExpander | ( |  | ) |

virtual

Definition at line 58 of file MacroExpander.cpp.

References i.

## Member Function Documentation

void pp::MacroExpander::lex | ( | Token * | token | ) |

virtual

Implements pp::Lexer.

Definition at line 66 of file MacroExpander.cpp.

References pp::Macro::disabled, pp::Token::expansionDisabled(), pp::Token::IDENTIFIER, pp::Macro::kTypeFunc, pp::Token::setExpansionDisabled(), pp::Token::text, pp::Macro::type, and pp::Token::type.

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

- zenilib/jni/external/angle/src/compiler/preprocessor/MacroExpander.h
- zenilib/jni/external/angle/src/compiler/preprocessor/MacroExpander.cpp