internal/language/gen_common.go
raw| 1 | // Copyright 2014 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build ignore |
| 6 | |
| 7 | package main |
| 8 | |
| 9 | // This file contains code common to the maketables.go and the package code. |
| 10 | |
| 11 | // AliasType is the type of an alias in AliasMap. |
| 12 | type AliasType int8 |
| 13 | |
| 14 | const ( |
| 15 | Deprecated AliasType = iota |
| 16 | Macro |
| 17 | Legacy |
| 18 | |
| 19 | AliasTypeUnknown AliasType = -1 |
| 20 | ) |