Home · Overviews · Reference · Classes codeless banner

PreprocessorToken Class Reference

    #include <PreprocessorToken>

Public Variables

Related Non-Members


Detailed Description


Member Variable Documentation

const char * PreprocessorToken::cStr

unsigned int PreprocessorToken::cStrLen

int PreprocessorToken::line

int PreprocessorToken::offset

Token PreprocessorToken::token


Related Non-Members

QList<PreprocessorToken> preprocess ( const char * document, const QList<LexerToken> & _tokens )

Returns a list of preprocessor tokens in document. The _tokens value must the list of tokens as returned by tokenize().

The logic used the preprocessing works like this.

Enter/Leave string when <QUOTE>. Everything is preserved within a string. When not in string:


Copyright © 2009 Trolltech
Qt Extended - QBuild Maintainer Guide