public class Token extends Object
Token class.
| Constructor and Description |
|---|
Token(char _commandPrefix,
String _value)
Constructor for Token.
|
Token(char _commandPrefix,
String _value,
int startIndex,
int endIndex,
boolean forceLiteral)
Constructor for Token.
|
| Modifier and Type | Method and Description |
|---|---|
char |
charCommand()
charCommand.
|
int |
getInputEndX()
Getter for the field
inputEndX. |
int |
getInputStartX()
Getter for the field
inputStartX. |
String |
getValue()
Getter for the field
value. |
String |
getWordCommand()
Getter for the field
wordCommand. |
boolean |
isCharCommand()
isCharCommand.
|
boolean |
isCharCommand(ICmdLineArg<?> argDef)
isCharCommand.
|
boolean |
isCommand()
isCommand.
|
boolean |
isGroupEnd()
isGroupEnd.
|
boolean |
isGroupStart()
isGroupStart.
|
boolean |
isIncludeFile()
isIncludeFile.
|
boolean |
isLiteral()
isLiteral.
|
boolean |
isParserDirective()
isParserDirective.
|
boolean |
isUsed()
isUsed.
|
boolean |
isWordCommand()
isWordCommand.
|
boolean |
isWordCommand(ICmdLineArg<?> argDef)
isWordCommand.
|
String |
remainderValue()
remainderValue.
|
void |
removeCharCommand()
removeCharCommand.
|
protected void |
setLiteral(boolean _literal)
Setter for the field
literal. |
void |
setUsed(boolean _used)
Setter for the field
used. |
protected void |
setValue(String _value)
Setter for the field
value. |
String |
toString() |
public Token(char _commandPrefix,
String _value)
Constructor for Token.
_commandPrefix - a char._value - a String object.public char charCommand()
charCommand.
public int getInputEndX()
Getter for the field inputEndX.
public int getInputStartX()
Getter for the field inputStartX.
public String getWordCommand()
Getter for the field wordCommand.
String object.public boolean isCharCommand()
isCharCommand.
public boolean isCharCommand(ICmdLineArg<?> argDef)
isCharCommand.
argDef - a ICmdLineArg object.public boolean isCommand()
isCommand.
public boolean isGroupEnd()
isGroupEnd.
public boolean isGroupStart()
isGroupStart.
public boolean isIncludeFile()
isIncludeFile.
public boolean isLiteral()
isLiteral.
public boolean isParserDirective()
isParserDirective.
public boolean isUsed()
isUsed.
public boolean isWordCommand()
isWordCommand.
public boolean isWordCommand(ICmdLineArg<?> argDef)
isWordCommand.
argDef - a ICmdLineArg object.public void removeCharCommand()
removeCharCommand.
protected void setLiteral(boolean _literal)
Setter for the field literal.
_literal - a boolean.public void setUsed(boolean _used)
Setter for the field used.
_used - a boolean.protected void setValue(String _value)
Setter for the field value.
_value - a String object.