src/node-types.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Not all the types are handled in this module.
 *
 * @enum {number}
 * @readonly
 */
export const TAG = 1 /* TAG */
export const ATTR = 2 /* ATTR */
export const TEXT = 3 /* TEXT */
export const CDATA = 4 /* CDATA */
export const COMMENT = 8 /* COMMENT */
export const DOCUMENT = 9 /* DOCUMENT */
export const DOCTYPE = 10 /* DOCTYPE */
export const DOCUMENT_FRAGMENT = 11 /* DOCUMENT_FRAGMENT */