clang API Documentation

Public Types | Public Member Functions | Public Attributes | Static Public Attributes
clang::ast_matchers::dynamic::Parser::TokenInfo Struct Reference

Simple structure to hold information for one token from the parser. More...

Collaboration diagram for clang::ast_matchers::dynamic::Parser::TokenInfo:
Collaboration graph
[legend]

List of all members.

Public Types

enum  TokenKind {
  TK_Eof, TK_OpenParen, TK_CloseParen, TK_Comma,
  TK_Period, TK_Literal, TK_Ident, TK_InvalidChar,
  TK_Error, TK_CodeCompletion
}
 Different possible tokens. More...

Public Member Functions

 TokenInfo ()

Public Attributes

StringRef Text
TokenKind Kind
SourceRange Range
VariantValue Value

Static Public Attributes

static const char *const ID_Bind = "bind"
 Some known identifiers.

Detailed Description

Simple structure to hold information for one token from the parser.

Definition at line 29 of file ASTMatchers/Dynamic/Parser.cpp.


Member Enumeration Documentation

Different possible tokens.

Enumerator:
TK_Eof 
TK_OpenParen 
TK_CloseParen 
TK_Comma 
TK_Period 
TK_Literal 
TK_Ident 
TK_InvalidChar 
TK_Error 
TK_CodeCompletion 

Definition at line 31 of file ASTMatchers/Dynamic/Parser.cpp.


Constructor & Destructor Documentation

Definition at line 47 of file ASTMatchers/Dynamic/Parser.cpp.


Member Data Documentation

const char *const clang::ast_matchers::dynamic::Parser::TokenInfo::ID_Bind = "bind" [static]

Some known identifiers.

Definition at line 45 of file ASTMatchers/Dynamic/Parser.cpp.

Definition at line 49 of file ASTMatchers/Dynamic/Parser.cpp.

Definition at line 52 of file ASTMatchers/Dynamic/Parser.cpp.


The documentation for this struct was generated from the following file: