add Node class
This commit is contained in:
1 parent
1c20826e62
commit
6f64f6d6d9
1 file changed
+7
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
class Node(object):
|
||||||
|
def __init__(self, type, children=None, node=None, data=None):
|
||||||
|
self.type = type
|
||||||
|
self.children = children
|
||||||
|
self.node = node
|
||||||
|
self.data = data
|
||||||
Reference in new issue
Block a user