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 109 of file YAMLParser.cpp.
Definition at line 110 of file YAMLParser.cpp.
llvm::yaml::Token::Token | ( | ) | [inline] |
Definition at line 139 of file YAMLParser.cpp.
Referenced by llvm::yaml::Document::Document(), llvm::yaml::dumpTokens(), llvm::yaml::KeyValueNode::getKey(), llvm::yaml::KeyValueNode::getValue(), llvm::yaml::Node::getVerbatimTag(), llvm::yaml::SequenceNode::increment(), llvm::yaml::Document::parseBlockNode(), llvm::yaml::scanTokens(), and llvm::yaml::Document::skip().
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().