public interface Token
Modifier and Type | Method and Description |
---|---|
String |
description()
Gets a description of the token.
|
boolean |
matches(char c)
Whether the given character matchers this
Token . |
Token |
or(Token other)
A Utility to create a new
CompoundToken , combining this Token with another one. |
boolean matches(char c)
Token
.c
- Compare to this character.String description()
Token or(Token other)
CompoundToken
, combining this Token
with another one. This is useful for OR
character comparisons.other
- The other Token
.CompoundToken
instance.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.