16 lines
309 B
Python
16 lines
309 B
Python
#!/usr/bin/python
|
|
import lutinDebug as debug
|
|
import Node
|
|
|
|
class Struct(Node.Node):
|
|
def __init__(self, stack=[], file="", lineNumber=0):
|
|
name = ""
|
|
Node.Node.__init__(self, 'struct', name, file, lineNumber)
|
|
self.access = "public"
|
|
|
|
|
|
def to_str(self) :
|
|
return "struct " + self.name + " { ... };"
|
|
|
|
|