Lines Matching refs:Package
30 tokens = ('package', 'import', 'enum',
58 if t.value == 'package':
59 t.type = 'package'
111 class Package(object):
112 def __init__(self, package):
113 self.package = package
116 return 'package %s' % self.package
119 def __init__(self, package):
120 self.package = package
123 return 'import %s' % self.package
126 def __init__(self, package, imports):
127 self.package = package
131 return str(self.package) + "\n" + \
219 'package_decl : package package_ID SEMICOLON'
220 t[0] = Package(t[2])