add Node class
This commit is contained in:
parent
1c20826e62
commit
6f64f6d6d9
7
parser/Node.py
Normal file
7
parser/Node.py
Normal 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
|
Loading…
x
Reference in New Issue
Block a user