public interface TokenEnum
Syntax units and are associated with a specific Token.
In other words, by adding this interface to an Enum it allows a value to be easily parsed to the correct Enum member using
Source#optionalFromEnum(Class).
| Modifier and Type | Method and Description |
|---|---|
Token |
token()
Gets the token represented by the enum constant.
|
Token token()
Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.