版博士V2.0程序
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.
 
 
 
 

29 lines
621 B

  1. import CharacterData from '../character-data/CharacterData';
  2. import IComment from './IComment';
  3. /**
  4. * Comment node.
  5. */
  6. export default class Comment extends CharacterData implements IComment {
  7. readonly nodeType = NodeTypeEnum.commentNode;
  8. /**
  9. * Node name.
  10. *
  11. * @returns Node name.
  12. */
  13. get nodeName(): string;
  14. /**
  15. * Converts to string.
  16. *
  17. * @returns String.
  18. */
  19. toString(): string;
  20. /**
  21. * Clones a node.
  22. *
  23. * @override
  24. * @param [deep=false] "true" to clone deep.
  25. * @returns Cloned node.
  26. */
  27. cloneNode(deep?: boolean): IComment;
  28. }