Code::Blocks
SVN r11506
|
replaced buffer information Here is an example of how macro are expanded More...
Public Member Functions | |
ExpandedMacro () | |
Public Attributes | |
unsigned int | m_Begin |
the token index we begin to parse after replacement More... | |
unsigned int | m_End |
the end token index, if beyond this index, we need to pop the buffer More... | |
const Token * | m_Macro |
the referenced used macro More... | |
replaced buffer information Here is an example of how macro are expanded
The first '^' is the new m_TokenIndex, we store is as m_Begin, the second '^' is the anchor point, we store it as m_End, normally the content from m_End to [EOF] are unchanged, unless m_Buffer is too small to store the substituted text.
Definition at line 581 of file tokenizer.h.
|
inline |
Definition at line 583 of file tokenizer.h.
unsigned int Tokenizer::ExpandedMacro::m_Begin |
the token index we begin to parse after replacement
Definition at line 585 of file tokenizer.h.
unsigned int Tokenizer::ExpandedMacro::m_End |
the end token index, if beyond this index, we need to pop the buffer
Definition at line 589 of file tokenizer.h.
Referenced by Tokenizer::ReplaceBufferText().
const Token* Tokenizer::ExpandedMacro::m_Macro |
the referenced used macro
Definition at line 591 of file tokenizer.h.
Referenced by Tokenizer::ReplaceBufferText().