| Expression statement | block {} Statement | Branch Statements | Loop Statements | Type Declaration | Variable Declaration | Synchronize Statements | With Statement | Using Statement | Type Alias |
Type alias introduces new name for anothother type name
Content of this chapter: |
TypeAliasStatement : 'typealias' TypeName TypeName ';' ;typealias introduce a new name for an existent type.
Any
is acdk.lang.dmi.DmiObject
Rest
is acdk.lang.dmi.DmiObjectArray
NamedRest
is acdk.lang.dmi.DmiNamedArgArray
Delegate
is acdk.lang.dmi.DmiDelegate
typealias acdk.lang.String mytype; mytype s = "asdf"; { typealias acdk.lang.Integer mytype; mytype is = new Integer(42); } // now is mytype a string again s = "asdf"; |