| 
									
										
										
										
											2008-07-10 17:21:23 -07:00
										 |  |  | // Copyright 2009 The Go Authors.  All rights reserved. | 
					
						
							|  |  |  | // Use of this source code is governed by a BSD-style | 
					
						
							|  |  |  | // license that can be found in the LICENSE file. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | package Object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import Globals "globals" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-24 17:00:58 -07:00
										 |  |  | export BAD, CONST, TYPE, VAR, FUNC, PACKAGE, LABEL, PTYPE | 
					
						
							| 
									
										
										
										
											2008-07-10 17:21:23 -07:00
										 |  |  | const /* kind */ ( | 
					
						
							|  |  |  | 	BAD = iota;  // error handling | 
					
						
							| 
									
										
										
										
											2008-07-24 17:00:58 -07:00
										 |  |  | 	CONST; TYPE; VAR; FUNC; PACKAGE; LABEL; | 
					
						
							| 
									
										
										
										
											2008-07-10 17:21:23 -07:00
										 |  |  | 	PTYPE;  // primary type (import/export only) | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-14 16:57:42 -07:00
										 |  |  | // The 'Object' declaration should be here as well, but 6g cannot handle | 
					
						
							|  |  |  | // this due to cross-package circular references. For now it's all in | 
					
						
							|  |  |  | // globals.go. |