From 58edbb96307362359cb81ed0c3e6be53a9d3340a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 26 Jul 2015 12:08:40 -0400 Subject: [PATCH] DOM: Aligned comments with Lexer --- src/DOM.cpp | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/src/DOM.cpp b/src/DOM.cpp index d726d6a0b..0433488cc 100644 --- a/src/DOM.cpp +++ b/src/DOM.cpp @@ -52,15 +52,15 @@ DOM::~DOM () //////////////////////////////////////////////////////////////////////////////// // DOM Supported References: +// +// Configuration: // rc. // +// System: // context.program // context.args // context.width // context.height -// -// TODO stats. <-- context.stats -// // system.version // system.os // @@ -170,11 +170,15 @@ bool DOM::get (const std::string& name, Variant& value) //////////////////////////////////////////////////////////////////////////////// // DOM Supported References: // +// Relative or absolute attribute: // // . // . // -// For certain attributes: +// Single tag: +// tags. +// +// Date type: // .year // .month // .day @@ -185,18 +189,8 @@ bool DOM::get (const std::string& name, Variant& value) // .minute // .second // -// tags. Includes virtual tags -// +// Annotations (entry is a date): // annotations..entry -// annotations..entry.year -// annotations..entry.month -// annotations..entry.day -// annotations..entry.week -// annotations..entry.weekday -// annotations..entry.julian -// annotations..entry.hour -// annotations..entry.minute -// annotations..entry.second // annotations..description // bool DOM::get (const std::string& name, const Task& task, Variant& value)