Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 28x 28x 28x 28x 1x 1x 50x 50x 1x 1x 1x 1x 1x | import {Identifier} from "../4_file_information/_identifier";
import {AbstractToken} from "../1_lexer/tokens/abstract_token";
import {Visibility} from "../4_file_information/visibility";
export class Alias extends Identifier {
private readonly visibility: Visibility;
private readonly component: string;
public constructor(token: AbstractToken, visibility: Visibility, component: string, filename: string) {
super(token, filename);
this.component = component;
this.visibility = visibility;
}
public getComponent(): string {
return this.component;
}
public getVisibility(): Visibility {
return this.visibility;
}
} |