add Node class

This commit is contained in:
Josh Holtrop committed 2011-08-30 10:39:52 -04:00
1 parent 1c20826e62
commit 6f64f6d6d9
1 file changed
+7
+7
View File
@@ -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