|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamesValidator
Instances of NamesValidator are obtained from Language instance.
An instance encapsulates knowledge of identifier rules and keyword set of the language.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean isKeyword(java.lang.String name,
Project project)
name - the string to check.project - the project in the context of which the check is done.
boolean isIdentifier(java.lang.String name,
Project project)
name - the string to check.project - the project in the context of which the check is done.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||