clang API Documentation

Classes | Namespaces | Enumerations
TokenAnnotator.h File Reference

This file implements a token annotator, i.e. creates AnnotatedTokens out of FormatTokens with required extra information. More...

#include "UnwrappedLineParser.h"
#include "clang/Format/Format.h"
#include <string>
Include dependency graph for TokenAnnotator.h:
This graph shows which files directly or indirectly include this file:

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
namespace  clang::format

Enumerations

enum  clang::format::LineType {
  clang::format::LT_Invalid, clang::format::LT_Other, clang::format::LT_PreprocessorDirective, clang::format::LT_VirtualFunctionDecl,
  clang::format::LT_ObjCDecl, clang::format::LT_ObjCMethodDecl, clang::format::LT_ObjCProperty
}

Detailed Description

This file implements a token annotator, i.e. creates AnnotatedTokens out of FormatTokens with required extra information.

Definition in file TokenAnnotator.h.