using DOM.DSL.Services; using System.Collections.Generic; namespace DOM.DSL.Contexts { internal abstract class TContext { protected static HashSet _blockNames = new HashSet { "for", "if", "flow", "comm", "block" }; protected static HashSet _endblockNames = new HashSet { "endfor", "endif", "endflow", "endcomm", "endblock" }; protected static HashSet _elementNames = new HashSet { "text", "now", "nowutc", "guid", "id","summary","header","categories", "directions","author","copyright","created", "lang","priority","source","publisher","meta","timestamp","datelabel", "version","keywords","companies","persons","places", "self", "order", "counter", "aside", "assotiations", "list","listitem","text","link","image","quote", "form","video","audio","section","paragraph","table", "columns","column","tablerow","tablecell","videoplayer","audioplayer", "gallery", "content", "system", "buf", "build", "env", "var", "identifier", "desc", "descriptive", "headers", "tags", "null", "empty", "utc" }; public TContext ParentContext { get; protected set; } public abstract void Read(TStringReader reader); } }