LLVM API Documentation
Token - A single YAML token. More...


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 |
Token - A single YAML token.
Definition at line 100 of file YAMLParser.cpp.
Definition at line 101 of file YAMLParser.cpp.
| llvm::yaml::Token::Token | ( | ) | [inline] |
Definition at line 130 of file YAMLParser.cpp.
A string of length 0 or more whose begin() points to the logical location of the token in the input.
Definition at line 128 of file YAMLParser.cpp.
Referenced by llvm::yaml::dumpTokens(), and llvm::yaml::Document::parseBlockNode().