Added a directive type enum.

This commit is contained in:
Ferdinand Majerech 2014-07-26 16:37:38 +02:00
parent 27bccabca4
commit 3ae7c713ef

View file

@ -45,6 +45,17 @@ enum TokenID : ubyte
Scalar /// SCALAR Scalar /// SCALAR
} }
/// Specifies the type of a tag directive token.
enum DirectiveType : ubyte
{
// YAML version directive.
YAML,
// Tag directive.
TAG,
// Any other directive is "reserved" for future YAML versions.
Reserved
}
/// Token produced by scanner. /// Token produced by scanner.
/// ///
/// 32 bytes on 64-bit. /// 32 bytes on 64-bit.