Appearance
| 1 | namespace Semantic.Symbols is | |
| 2 | use IO.Std; | |
| 3 | ||
| 4 | use IoC; | |
| 5 | use Logging; | |
| 6 | use Source; | |
| 7 | ||
| 8 | class LABEL(location: LOCATION, owner: Scope, name: string): Symbol is | |
| 9 | is_local: bool => true; | |
| 10 | ||
| 11 | short_description: string => description; | |
| 12 | ||
| 13 | describe(context: DESCRIBE_CONTEXT) -> SignaturePart => | |
| 14 | PARTS.sequence([ | |
| 15 | PARTS.literal("label "), | |
| 16 | PARTS.literal(name) | |
| 17 | ]); | |
| 18 | ||
| 19 | super(location, owner, name); | |
| 20 | ||
| 21 | specialize(type_map: Collections.Map[string,Symbols.Symbol], owner: GENERIC) -> Symbol | |
| 22 | => self; | |
| 23 | si | |
| 24 | si |