//===--- TokenAnalyzer.h - Analyze Token Streams ----------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// \file /// This file declares an abstract TokenAnalyzer, and associated helper /// classes. TokenAnalyzer can be extended to generate replacements based on /// an annotated and pre-processed token stream. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H #define LLVM_CLANG_LIB_FORMAT_TOKENANALYZER_H #include "AffectedRangeManager.h" #include "FormatTokenLexer.h" #include "TokenAnnotator.h" namespace clang { namespace format { class Environment { … }; class TokenAnalyzer : public UnwrappedLineConsumer { … }; } // end namespace format } // end namespace clang #endif