LLVM API Documentation

Public Types | Public Member Functions | Public Attributes
llvm::yaml::Token Struct Reference

Token - A single YAML token. More...

Inheritance diagram for llvm::yaml::Token:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::Token:
Collaboration graph
[legend]

List of all members.

Public Types

enum  TokenKind {
  TK_Error, TK_StreamStart, TK_StreamEnd, TK_VersionDirective,
  TK_TagDirective, TK_DocumentStart, TK_DocumentEnd, TK_BlockEntry,
  TK_BlockEnd, TK_BlockSequenceStart, TK_BlockMappingStart, TK_FlowEntry,
  TK_FlowSequenceStart, TK_FlowSequenceEnd, TK_FlowMappingStart, TK_FlowMappingEnd,
  TK_Key, TK_Value, TK_Scalar, TK_Alias,
  TK_Anchor, TK_Tag
}

Public Member Functions

 Token ()

Public Attributes

enum llvm::yaml::Token::TokenKind Kind
StringRef Range

Detailed Description

Token - A single YAML token.

Definition at line 109 of file YAMLParser.cpp.


Member Enumeration Documentation

Enumerator:
TK_Error 
TK_StreamStart 
TK_StreamEnd 
TK_VersionDirective 
TK_TagDirective 
TK_DocumentStart 
TK_DocumentEnd 
TK_BlockEntry 
TK_BlockEnd 
TK_BlockSequenceStart 
TK_BlockMappingStart 
TK_FlowEntry 
TK_FlowSequenceStart 
TK_FlowSequenceEnd 
TK_FlowMappingStart 
TK_FlowMappingEnd 
TK_Key 
TK_Value 
TK_Scalar 
TK_Alias 
TK_Anchor 
TK_Tag 

Definition at line 110 of file YAMLParser.cpp.


Constructor & Destructor Documentation

Definition at line 139 of file YAMLParser.cpp.


Member Data Documentation

A string of length 0 or more whose begin() points to the logical location of the token in the input.

Definition at line 137 of file YAMLParser.cpp.

Referenced by llvm::yaml::dumpTokens(), llvm::yaml::Node::getVerbatimTag(), and llvm::yaml::Document::parseBlockNode().


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