UNPKG
@vivaxy/wxml
Version:
latest (2.1.0)
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.0.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.0
🌇WXML parser and serializer.
github.com/vivaxy/WXML
vivaxy/WXML
@vivaxy/wxml
/
lib
/
nodes
/
comment.d.ts
15 lines
(14 loc)
•
311 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** *
@since
20180808 11:11 *
@author
vivaxy
*/
import
BaseNode
from
'./base'
;
import
NODE_TYPES
from
'../types/node-types'
;
export
default
class
CommentNode
extends
BaseNode
{
comment
:
string
;
constructor
(
comment
:
string
);
toJSON
(): {
type
:
NODE_TYPES
;
comment
:
string
; }; }