protected static class LanguageNamesValidation.DefaultNamesValidator extends java.lang.Object implements NamesValidator
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultNamesValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIdentifier(java.lang.String name,
Project project)
Checks if the specified string is a valid identifier in the custom language.
|
boolean |
isKeyword(java.lang.String name,
Project project)
Checks if the specified string is a keyword in the custom language.
|
public boolean isIdentifier(java.lang.String name,
Project project)
NamesValidatorisIdentifier in interface NamesValidatorname - the string to check.project - the project in the context of which the check is done.public boolean isKeyword(java.lang.String name,
Project project)
NamesValidatorisKeyword in interface NamesValidatorname - the string to check.project - the project in the context of which the check is done.