mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Added an iterator class that can iterate through both sequence and map nodes.
This commit is contained in:
parent
f7358701f2
commit
d56b54b34f
16 changed files with 393 additions and 105 deletions
|
@ -6,7 +6,9 @@ namespace YAML
|
|||
{
|
||||
class Exception: public std::exception {};
|
||||
class ScannerException: public Exception {};
|
||||
class RepresentationException: public Exception {};
|
||||
|
||||
// scanner exceptions
|
||||
class UnknownToken: public ScannerException {};
|
||||
class IllegalBlockEntry: public ScannerException {};
|
||||
class IllegalMapKey: public ScannerException {};
|
||||
|
@ -37,4 +39,8 @@ namespace YAML
|
|||
InvalidUnicode(unsigned value_): value(value_) {}
|
||||
unsigned value;
|
||||
};
|
||||
|
||||
// representation exceptions
|
||||
class InvalidScalar: public RepresentationException {};
|
||||
class BadDereference: public RepresentationException {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue