From 8208e817de4979b0995639dfc8c8d315c6f98a15 Mon Sep 17 00:00:00 2001
From: Ferdinand Majerech
Date: Sun, 30 Oct 2011 18:12:02 +0100
Subject: [PATCH] Updated Node for much more constness (unfortunately, quite
some code duplication as well). No longer need a custom Variant.
---
autoddoc.cfg | 2 +-
doc/doctrees/environment.pickle | Bin 12705 -> 12705 bytes
doc/html/api/dyaml.node.html | 12 +-
doc/html/articles/spec_differences.html | 2 +-
doc/html/index.html | 2 +-
doc/html/search.html | 2 +-
doc/html/tutorials/custom_types.html | 2 +-
doc/html/tutorials/getting_started.html | 2 +-
doc/html/tutorials/yaml_syntax.html | 2 +-
dyaml/node.d | 294 +++--
dyaml/std/variant.d | 1493 -----------------------
test/src/constructor.d | 2 +-
test/src/representer.d | 2 +-
13 files changed, 193 insertions(+), 1624 deletions(-)
delete mode 100644 dyaml/std/variant.d
diff --git a/autoddoc.cfg b/autoddoc.cfg
index 78410f0..15aea1f 100644
--- a/autoddoc.cfg
+++ b/autoddoc.cfg
@@ -29,7 +29,7 @@ links = ../index.html Documentation home
# Source files or patterns to ignore. Supports regexp syntax.
# E.g; To ignore main.d and all source files in the test/ directory,
# you would use: "main.d test/*"
-ignore = test/*, examples/*, docsrc/*, autoddoc/*, yaml.d, unittest.d, cdc.d, dyaml/composer.d, dyaml/event.d, dyaml/parser.d, dyaml/reader.d, dyaml/scanner.d, dyaml/token.d, dyaml/util.d, dyaml/anchor.d, dyaml/emitter.d, dyaml/flags.d, dyaml/serializer.d, dyaml/sharedobject.d, dyaml/tag.d, dyaml/tagdirectives.d, dyaml/queue.d, dyaml/escapes.d, dyaml/fastcharsearch.d, dyaml/std/variant.d
+ignore = test/*, examples/*, docsrc/*, autoddoc/*, yaml.d, unittest.d, cdc.d, dyaml/composer.d, dyaml/event.d, dyaml/parser.d, dyaml/reader.d, dyaml/scanner.d, dyaml/token.d, dyaml/util.d, dyaml/anchor.d, dyaml/emitter.d, dyaml/flags.d, dyaml/serializer.d, dyaml/sharedobject.d, dyaml/tag.d, dyaml/tagdirectives.d, dyaml/queue.d, dyaml/escapes.d, dyaml/fastcharsearch.d
[DDOC]
# Command to use to generate the documentation.
diff --git a/doc/doctrees/environment.pickle b/doc/doctrees/environment.pickle
index bca770ac86fcdd1709b229fc489ffcd11d5fa8ef..6555f4a944e86a086570f3e21954b05102d086ef 100644
GIT binary patch
delta 62
zcmZ3OyfAq~o4#S9^#KW=3}tu6%c~Qux3BHX(19@bs(s5ag)n!0pORq*VeXjWwt2h$
GD@Figr5tkr
delta 62
zcmZ3OyfAq~o4%pss}IvPGnCyOFRzw-^&(O=LkGfqyRI+86vBMn?vP;zVZJm!w|Tq%
GD@FjRa~_KT
diff --git a/doc/html/api/dyaml.node.html b/doc/html/api/dyaml.node.html
index 089e465..1b55f6b 100644
--- a/doc/html/api/dyaml.node.html
+++ b/doc/html/api/dyaml.node.html
@@ -52,6 +52,12 @@
Null YAML type. Used in nodes with null values.
+- const string toString();
+
+Used for string conversion.
+
+
+
struct Node;
@@ -80,7 +86,7 @@
Construct a Pair from two values. Will be converted to Nodes if needed.
-bool equals(ref Pair rhs);
+const bool opEquals(ref const Pair rhs);
Equality test with another Pair.
@@ -263,7 +269,7 @@
Return tag of the node.
-bool opEquals(T)(ref T rhs);
+const bool opEquals(T)(ref const T rhs);
Equality test.
@@ -337,7 +343,7 @@
the value is out of range of requested type.
-@property size_t length();
+const @property size_t length();
If this is a collection, return its length.
diff --git a/doc/html/articles/spec_differences.html b/doc/html/articles/spec_differences.html
index 5d4970b..82539ed 100644
--- a/doc/html/articles/spec_differences.html
+++ b/doc/html/articles/spec_differences.html
@@ -138,7 +138,7 @@ struct appears in Phobos.