src/node-types.js
/**
* 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 */