keyword property

Token keyword

Return the 'new' or 'const' keyword used to indicate how an object should be created, or null if the keyword was not explicitly provided.

Implementation

Token get keyword;
void keyword=(Token token)

Set the 'new' or 'const' keyword used to indicate how an object should be created to the given token.

Implementation

set keyword(Token token);