LLVM 20.0.0git
|
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_BlockScalar , TK_Alias , TK_Anchor , TK_Tag } |
Public Member Functions | |
Token ()=default | |
Public Attributes | |
enum llvm::yaml::Token::TokenKind | Kind = TK_Error |
StringRef | Range |
A string of length 0 or more whose begin() points to the logical location of the token in the input. | |
std::string | Value |
The value of a block scalar node. | |
Token - A single YAML token.
Definition at line 124 of file YAMLParser.cpp.
Definition at line 125 of file YAMLParser.cpp.
|
default |
enum llvm::yaml::Token::TokenKind llvm::yaml::Token::Kind = TK_Error |
StringRef llvm::yaml::Token::Range |
A string of length 0 or more whose begin() points to the logical location of the token in the input.
Definition at line 153 of file YAMLParser.cpp.
Referenced by llvm::yaml::Document::parseBlockNode().
std::string llvm::yaml::Token::Value |
The value of a block scalar node.
Definition at line 156 of file YAMLParser.cpp.