Removed internals from DDoc.

This commit is contained in:
Ferdinand Majerech 2014-08-01 02:52:14 +02:00
parent 0f017646fc
commit a9fb68f340
2 changed files with 4 additions and 6 deletions

View file

@ -31,9 +31,7 @@ import dyaml.tag;
import dyaml.style; import dyaml.style;
/// Exception thrown at constructor errors. // Exception thrown at constructor errors.
///
/// Can be thrown by custom constructor functions.
package class ConstructorException : YAMLException package class ConstructorException : YAMLException
{ {
/// Construct a ConstructorException. /// Construct a ConstructorException.

View file

@ -27,7 +27,8 @@ class YAMLException : Exception
} }
} }
/// Position in a YAML stream, used for error messages. package:
// Position in a YAML stream, used for error messages.
struct Mark struct Mark
{ {
private: private:
@ -47,7 +48,7 @@ struct Mark
/// Get a string representation of the mark. /// Get a string representation of the mark.
string toString() @safe pure nothrow const string toString() @safe pure nothrow const
{ {
/// Line/column numbers start at zero internally, make them start at 1. // Line/column numbers start at zero internally, make them start at 1.
static string clamped(ushort v) @safe pure nothrow static string clamped(ushort v) @safe pure nothrow
{ {
return str(v + 1) ~ (v == ushort.max ? " or higher" : ""); return str(v + 1) ~ (v == ushort.max ? " or higher" : "");
@ -58,7 +59,6 @@ struct Mark
static assert(Mark.sizeof == 4, "Unexpected Mark size"); static assert(Mark.sizeof == 4, "Unexpected Mark size");
package:
// A struct storing parameters to the MarkedYAMLException constructor. // A struct storing parameters to the MarkedYAMLException constructor.
struct MarkedYAMLExceptionData struct MarkedYAMLExceptionData
{ {