/*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2012 Stephen Kelly Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ #ifndef cmGeneratorExpressionParser_h #define cmGeneratorExpressionParser_h #include "cmGeneratorExpressionLexer.h" #include #include #include "cmListFileCache.h" class cmMakefile; class cmTarget; struct cmGeneratorExpressionEvaluator; //---------------------------------------------------------------------------- struct cmGeneratorExpressionParser { cmGeneratorExpressionParser( const std::vector &tokens); void Parse(std::vector &result); private: void ParseContent(std::vector &); void ParseGeneratorExpression( std::vector &); private: std::vector::const_iterator it; const std::vector Tokens; unsigned int NestingLevel; }; #endif