You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
422 B

  1. import Node from './node';
  2. import NodeType from './type';
  3. export default class CommentNode extends Node {
  4. rawText: string;
  5. constructor(rawText: string);
  6. /**
  7. * Node Type declaration.
  8. * @type {Number}
  9. */
  10. nodeType: NodeType;
  11. /**
  12. * Get unescaped text value of current node and its children.
  13. * @return {string} text content
  14. */
  15. get text(): string;
  16. toString(): string;
  17. }