clang 20.0.0git
Classes | Namespaces | Enumerations
TokenAnnotator.h File Reference

This file implements a token annotator, i.e. More...

#include "UnwrappedLineParser.h"

Go to the source code of this file.

Classes

class  clang::format::AnnotatedLine
 
class  clang::format::TokenAnnotator
 Determines extra information about the tokens comprising an UnwrappedLine. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::format
 

Enumerations

enum  clang::format::LineType {
  clang::format::LT_Invalid , clang::format::LT_AccessModifier , clang::format::LT_ImportStatement , clang::format::LT_ObjCDecl ,
  clang::format::LT_ObjCMethodDecl , clang::format::LT_ObjCProperty , clang::format::LT_Other , clang::format::LT_PreprocessorDirective ,
  clang::format::LT_VirtualFunctionDecl , clang::format::LT_ArrayOfStructInitializer , clang::format::LT_CommentAbovePPDirective
}
 
enum  clang::format::ScopeType { clang::format::ST_Class , clang::format::ST_Function , clang::format::ST_Other }
 

Detailed Description

This file implements a token annotator, i.e.

creates AnnotatedTokens out of FormatTokens with required extra information.

Definition in file TokenAnnotator.h.