Class SimpleKeywordToken
java.lang.Object
net.apartium.cocoabeans.commands.lexer.CommandToken
net.apartium.cocoabeans.commands.lexer.KeywordToken
net.apartium.cocoabeans.commands.lexer.SimpleKeywordToken
- All Implemented Interfaces:
Serializable
A simple keyword token that represents a keyword
- See Also:
-
Field Summary
Fields inherited from class net.apartium.cocoabeans.commands.lexer.CommandToken
from, text, to -
Constructor Summary
ConstructorsConstructorDescriptionSimpleKeywordToken(int from, int to, String text) Create a new keyword token -
Method Summary
Methods inherited from class net.apartium.cocoabeans.commands.lexer.KeywordToken
getTypeMethods inherited from class net.apartium.cocoabeans.commands.lexer.CommandToken
from, to
-
Constructor Details
-
SimpleKeywordToken
Create a new keyword token- Parameters:
from- starting indexto- ending indextext- the entire text of command
-
-
Method Details
-
getKeyword
Get the keyword- Specified by:
getKeywordin classKeywordToken- Returns:
- the keyword
-
toString
-
equals
-
hashCode
public int hashCode()
-