Skip to content

7 Aliases

Studio 42 GmbH edited this page Dec 27, 2022 · 1 revision

Overview

Alias allows to define another name for your types, annotations and pragmas.

ALIAS alias name;

Here is excerpt of the parser definition in ANTLR4 grammar:

alias : 
	KEYWORD_ALIAS 
	aliasRedefinition 
	aliasDefinition 
	SEMI_COLON ;

aliasRedefinition : identifier ;
aliasDefinition : identifier ;

Examples

alias boolean de.s42.dl.types.BooleanDLType;
alias Config Configuration;
Clone this wiki locally