add Node class

This commit is contained in:
Josh Holtrop 2011-08-30 10:39:52 -04:00
parent 1c20826e62
commit 6f64f6d6d9

7
parser/Node.py Normal file
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