move since from inclrtl to std/private/since (#14188)
* move since from inclrtl to std/private/since * move since import in system below for HCR
This commit is contained in:
parent
3be669be32
commit
fbc97e712a
27 changed files with 60 additions and 59 deletions
|
|
@ -34,8 +34,8 @@
|
|||
## * `parsexml module <parsexml.html>`_ for low-level XML parsing
|
||||
## * `htmlgen module <htmlgen.html>`_ for html code generator
|
||||
|
||||
import std/private/since
|
||||
import macros, strtabs, strutils
|
||||
include "system/inclrtl"
|
||||
|
||||
type
|
||||
XmlNode* = ref XmlNodeObj ## An XML tree consisting of XML nodes.
|
||||
|
|
@ -103,7 +103,7 @@ proc newText*(text: string): XmlNode =
|
|||
result = newXmlNode(xnText)
|
||||
result.fText = text
|
||||
|
||||
proc newVerbatimText*(text: string): XmlNode {.since:(1, 3).} =
|
||||
proc newVerbatimText*(text: string): XmlNode {.since: (1, 3).} =
|
||||
## Creates a new ``XmlNode`` of kind ``xnVerbatimText`` with the text `text`.
|
||||
## **Since**: Version 1.3.
|
||||
result = newXmlNode(xnVerbatimText)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue