public class BasicKeywordRecognizer extends Object implements KeywordRecognizer, ScriptBasicKeyWords
BASIC_KEYWORDS, BASIC_OPERATOR_LEXEME_MAX_LENGTH, BASIC_OPERATORS
Constructor and Description |
---|
BasicKeywordRecognizer() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getKeywords() |
boolean |
isRecognized(String identifier)
The method checks the argument if present in the reserved keyword list or
not.
|
void |
setKeywords(Set<String> kwords) |
public boolean isRecognized(String identifier)
KeywordRecognizer
isRecognized
in interface KeywordRecognizer
identifier
- the string of the identifier that may be reserved wordtrue
if and only if the identifier string is a reserved
keywordCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.