LLVM: llvm::yaml::Token Struct Reference (original) (raw)

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
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.

TokenKind

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_BlockScalar
TK_Alias
TK_Anchor
TK_Tag

Definition at line 125 of file YAMLParser.cpp.

llvm::yaml::Token::Token ( ) default

Kind

enum llvm::yaml::Token::TokenKind llvm::yaml::Token::Kind = TK_Error

Range

Value

std::string llvm::yaml::Token::Value


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