html/catom

Search:
Group by:

Types

CAtom = distinct uint32
FromIdxResult = enum
  fiIdx, fiStr, fiErr
StaticAtom {.inject.} = enum
  satUnknown = "", satApplet = "applet", satBig = "big", satHtml = "html",
  satBase = "base", satBasefont = "basefont", satBgsound = "bgsound",
  satHead = "head", satLink = "link", satListing = "listing", satMeta = "meta",
  satStyle = "style", satTitle = "title", satBody = "body",
  satAddress = "address", satArticle = "article", satAside = "aside",
  satFooter = "footer", satHeader = "header", satH1 = "h1", satH2 = "h2",
  satH3 = "h3", satH4 = "h4", satH5 = "h5", satH6 = "h6", satHgroup = "hgroup",
  satMain = "main", satNav = "nav", satSearch = "search",
  satSection = "section", satBlockquote = "blockquote", satDd = "dd",
  satDiv = "div", satDl = "dl", satDt = "dt", satFigcaption = "figcaption",
  satFigure = "figure", satHr = "hr", satLi = "li", satOl = "ol", satP = "p",
  satPre = "pre", satUl = "ul", satA = "a", satAbbr = "abbr", satB = "b",
  satBdi = "bdi", satBdo = "bdo", satBr = "br", satNobr = "nobr",
  satCite = "cite", satCode = "code", satData = "data", satDfn = "dfn",
  satEm = "em", satEmbed = "embed", satI = "i", satKbd = "kbd",
  satMark = "mark", satMarquee = "marquee", satQ = "q", satRb = "rb",
  satRp = "rp", satRt = "rt", satRtc = "rtc", satRuby = "ruby", satS = "s",
  satSamp = "samp", satSmall = "small", satSpan = "span", satStrong = "strong",
  satSub = "sub", satSup = "sup", satTime = "time", satU = "u", satVar = "var",
  satWbr = "wbr", satArea = "area", satAudio = "audio", satImg = "img",
  satImage = "image", satMap = "map", satTrack = "track", satVideo = "video",
  satIframe = "iframe", satObject = "object", satParam = "param",
  satPicture = "picture", satPortal = "portal", satSource = "source",
  satCanvas = "canvas", satNoscript = "noscript", satNoembed = "noembed",
  satPlaintext = "plaintext", satXmp = "xmp", satScript = "script",
  satSlot = "slot", satDel = "del", satIns = "ins", satCaption = "caption",
  satCol = "col", satColgroup = "colgroup", satTable = "table",
  satTbody = "tbody", satTd = "td", satTfoot = "tfoot", satTh = "th",
  satThead = "thead", satTr = "tr", satButton = "button",
  satDatalist = "datalist", satFieldset = "fieldset", satForm = "form",
  satInput = "input", satKeygen = "keygen", satLabel = "label",
  satLegend = "legend", satMeter = "meter", satOptgroup = "optgroup",
  satOption = "option", satOutput = "output", satProgress = "progress",
  satSelect = "select", satSelectedcontent = "selectedcontent",
  satTextarea = "textarea", satDetails = "details", satDialog = "dialog",
  satMenu = "menu", satSummary = "summary", satBlink = "blink",
  satCenter = "center", satContent = "content", satDir = "dir",
  satFont = "font", satFrame = "frame", satNoframes = "noframes",
  satFrameset = "frameset", satStrike = "strike", satTt = "tt",
  satTemplate = "template", satSarcasm = "sarcasm", satMath = "math",
  satSvg = "svg", satCharset = "charset", satHttpEquiv = "http-equiv",
  satType = "type", satDefinitionurl = "definitionurl",
  satAnnotationXml = "annotation-xml", satForeignObject = "foreignObject",
  satDesc = "desc", satEncoding = "encoding", satMi = "mi", satMo = "mo",
  satMn = "mn", satMs = "ms", satMtext = "mtext", satMglyph = "mglyph",
  satMalignmark = "malignmark", satColor = "color", satFace = "face",
  satSize = "size", satAbort = "abort", satAccept = "accept",
  satAcceptCharset = "accept-charset", satAction = "action", satAlign = "align",
  satAlink = "alink", satAlt = "alt", satAlternate = "alternate",
  satAnonymous = "anonymous", satApplicationXml = "application/xml",
  satApplicationXmlHtml = "application/xml+html", satAsync = "async",
  satAutofocus = "autofocus", satAxis = "axis", satBgcolor = "bgcolor",
  satBlocking = "blocking", satBlur = "blur", satBorder = "border",
  satCellspacing = "cellspacing", satChange = "change", satChecked = "checked",
  satClass = "class", satClassName = "className", satClear = "clear",
  satClick = "click", satCodetype = "codetype",
  satColorDashProfile = "color-profile", satCols = "cols",
  satColspan = "colspan", satCompact = "compact",
  satContextmenu = "contextmenu", satCrossorigin = "crossorigin",
  satCustomevent = "customevent", satDOMContentLoaded = "DOMContentLoaded",
  satDashChaHintCounter = "-cha-hint-counter",
  satDashChaLinkCounter = "-cha-link-counter", satDatetime = "datetime",
  satDblclick = "dblclick", satDeclare = "declare",
  satDefaultSelected = "defaultSelected", satDefer = "defer",
  satDirection = "direction", satDirname = "dirname", satDisabled = "disabled",
  satEnctype = "enctype", satError = "error", satEvent = "event",
  satEvents = "events", satFocus = "focus", satFontDashFace = "font-face",
  satFontDashFaceDashFormat = "font-face-format",
  satFontDashFaceDashName = "font-face-name",
  satFontDashFaceDashSrc = "font-face-src",
  satFontDashFaceDashUri = "font-face-uri", satFor = "for",
  satFormaction = "formaction", satFormenctype = "formenctype",
  satFormmethod = "formmethod", satHCrossOrigin = "crossOrigin",
  satHDateTime = "dateTime", satHFormMethod = "formMethod",
  satHHttpEquiv = "httpEquiv", satHIsMap = "isMap",
  satHNoValidate = "noValidate", satHReferrerPolicy = "referrerPolicy",
  satHUseMap = "useMap", satHash = "hash", satHeight = "height",
  satHost = "host", satHostname = "hostname", satHref = "href",
  satHreflang = "hreflang", satHtmlFor = "htmlFor",
  satHtmlevents = "htmlevents", satId = "id", satImageSvgXml = "image/svg+xml",
  satIntegrity = "integrity", satIsmap = "ismap", satLang = "lang",
  satLanguage = "language", satListItem = "list-item", satLoad = "load",
  satLoadend = "loadend", satLoadstart = "loadstart", satMax = "max",
  satMedia = "media", satMessage = "message", satMethod = "method",
  satMin = "min", satMissingDashGlyph = "missing-glyph",
  satMouseevent = "mouseevent", satMouseevents = "mouseevents",
  satMousewheel = "mousewheel", satMultiple = "multiple", satName = "name",
  satNamespaceHTML = "http://www.w3.org/1999/xhtml",
  satNamespaceMathML = "http://www.w3.org/1998/Math/MathML",
  satNamespaceSVG = "http://www.w3.org/2000/svg",
  satNamespaceXLink = "http://www.w3.org/1999/xlink",
  satNamespaceXML = "http://www.w3.org/XML/1998/namespace",
  satNamespaceXMLNS = "http://www.w3.org/2000/xmlns/", satNohref = "nohref",
  satNomodule = "nomodule", satNoresize = "noresize", satNoshade = "noshade",
  satNovalidate = "novalidate", satNowrap = "nowrap", satOnblur = "onblur",
  satOnchange = "onchange", satOnclick = "onclick",
  satOncontextmenu = "oncontextmenu", satOndblclick = "ondblclick",
  satOnerror = "onerror", satOnfocus = "onfocus", satOninput = "oninput",
  satOnload = "onload", satOnsubmit = "onsubmit", satOpen = "open",
  satOrigin = "origin", satPassword = "password", satPathname = "pathname",
  satPort = "port", satProtocol = "protocol", satReadonly = "readonly",
  satReadystatechange = "readystatechange",
  satReferrerpolicy = "referrerpolicy", satRel = "rel",
  satRequired = "required", satRev = "rev", satRows = "rows",
  satRowspan = "rowspan", satRules = "rules", satScope = "scope",
  satScrolling = "scrolling", satSelected = "selected", satShape = "shape",
  satSizes = "sizes", satSrc = "src", satSrcset = "srcset", satStart = "start",
  satStylesheet = "stylesheet", satSubmit = "submit",
  satSvgevents = "svgevents", satTarget = "target", satText = "text",
  satTextHtml = "text/html", satTimeout = "timeout", satToString = "toString",
  satTouchmove = "touchmove", satTouchstart = "touchstart", satUempty = "",
  satUievent = "uievent", satUievents = "uievents", satUsemap = "usemap",
  satUsername = "username", satValign = "valign", satValue = "value",
  satValuetype = "valuetype", satVlink = "vlink", satWheel = "wheel",
  satWidth = "width", satXlink = "xlink", satXml = "xml", satXmlns = "xmlns"

Procs

proc `$`(atom: CAtom): lent string {....raises: [], tags: [], forbids: [].}
proc `==`(a, b: CAtom): bool {.borrow, ...raises: [], tags: [], forbids: [].}
proc `==`(a: CAtom; b: StaticAtom): bool {....raises: [], tags: [], forbids: [].}
proc `==`(a: StaticAtom; b: CAtom): bool {....raises: [], tags: [], forbids: [].}
proc contains(a: openArray[CAtom]; b: StaticAtom): bool {....raises: [], tags: [],
    forbids: [].}
proc contains(a: openArray[StaticAtom]; b: CAtom): bool {....raises: [], tags: [],
    forbids: [].}
proc containsIgnoreCase(aa: openArray[CAtom]; a: CAtom): bool {....raises: [],
    tags: [], forbids: [].}
proc containsIgnoreCase(aa: openArray[CAtom]; a: StaticAtom): bool {....raises: [],
    tags: [], forbids: [].}
proc equalsIgnoreCase(a, b: CAtom): bool {....raises: [], tags: [], forbids: [].}
proc fromIdx(ctx: JSContext; atom: JSAtom; idx: var uint32): FromIdxResult {.
    ...raises: [], tags: [], forbids: [].}
proc fromIdx[T: string | CAtom](ctx: JSContext; atom: JSAtom; idx: var uint32;
                                s: var T): FromIdxResult
proc fromJS(ctx: JSContext; val: JSAtom; res: var CAtom): FromJSResult {.
    ...raises: [], tags: [], forbids: [].}
proc fromJS(ctx: JSContext; val: JSAtom; res: var StaticAtom): FromJSResult {.
    ...raises: [], tags: [], forbids: [].}
proc fromJS(ctx: JSContext; val: JSValueConst; res: var CAtom): FromJSResult {.
    ...raises: [], tags: [], forbids: [].}
proc hash(atom: CAtom): Hash {.borrow, ...raises: [], tags: [], forbids: [].}
proc initCAtomFactory() {....raises: [], tags: [], forbids: [].}
proc toAtom(attrType: StaticAtom): CAtom {....raises: [], tags: [], forbids: [].}
proc toAtom(namespace: Namespace): CAtom {....raises: [], tags: [], forbids: [].}
proc toAtom(prefix: NamespacePrefix): CAtom {....raises: [], tags: [], forbids: [].}
proc toAtom(s: openArray[char]): CAtom {....raises: [], tags: [], forbids: [].}
proc toAtom(tagType: TagType): CAtom {....raises: [], tags: [], forbids: [].}
proc toAtomLower(s: openArray[char]): CAtom {....raises: [], tags: [], forbids: [].}
proc toJS(ctx: JSContext; atom: CAtom): JSValue {....raises: [], tags: [],
    forbids: [].}
proc toLowerAscii(a: CAtom): CAtom {....raises: [], tags: [], forbids: [].}
proc toNamespace(atom: CAtom): Namespace {....raises: [], tags: [], forbids: [].}
proc toStaticAtom(atom: CAtom): StaticAtom {....raises: [], tags: [], forbids: [].}
proc toStaticAtom(s: string): StaticAtom {....raises: [], tags: [], forbids: [].}
proc toTagType(atom: CAtom): TagType {....raises: [], tags: [], forbids: [].}