From a9fb68f3404d4270ec136f3afc6e4897247f449e Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Fri, 1 Aug 2014 02:52:14 +0200 Subject: [PATCH] Removed internals from DDoc. --- source/dyaml/constructor.d | 4 +--- source/dyaml/exception.d | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/source/dyaml/constructor.d b/source/dyaml/constructor.d index d468817..94e1470 100644 --- a/source/dyaml/constructor.d +++ b/source/dyaml/constructor.d @@ -31,9 +31,7 @@ import dyaml.tag; import dyaml.style; -/// Exception thrown at constructor errors. -/// -/// Can be thrown by custom constructor functions. +// Exception thrown at constructor errors. package class ConstructorException : YAMLException { /// Construct a ConstructorException. diff --git a/source/dyaml/exception.d b/source/dyaml/exception.d index dac2db7..4e0b724 100644 --- a/source/dyaml/exception.d +++ b/source/dyaml/exception.d @@ -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 { private: @@ -47,7 +48,7 @@ struct Mark /// Get a string representation of the mark. 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 { return str(v + 1) ~ (v == ushort.max ? " or higher" : ""); @@ -58,7 +59,6 @@ struct Mark static assert(Mark.sizeof == 4, "Unexpected Mark size"); -package: // A struct storing parameters to the MarkedYAMLException constructor. struct MarkedYAMLExceptionData {