public class Nothing extends FixedStringToken
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
result |
static java.lang.String |
tok |
toBeParsed
Constructor and Description |
---|
Nothing()
Standard constructor
|
Nothing(LineToParse l)
Standard constructor with line to parse
|
Modifier and Type | Method and Description |
---|---|
boolean |
canParse()
can this token be parsed? is the next character
of toBeParsed consistent with the requested parsing task?
no changes to LineToParse are made
|
java.lang.String |
getEmsg() |
java.lang.String |
getTokenString()
basically this returns the last parsed token.
|
Nothing |
klone(LineToParse l)
return copy of 'this'
|
void |
parse()
actually parse toBeParsed given requested parsing task
|
consumeToken
setLineToParse
public static final java.lang.String result
public static final java.lang.String tok
public Nothing()
public Nothing(LineToParse l)
l
- -- LineToParsepublic java.lang.String getEmsg()
public java.lang.String getTokenString()
Token
getTokenString
in class FixedStringToken
public boolean canParse()
Token
canParse
in class FixedStringToken
public void parse()
Token
parse
in class FixedStringToken
public Nothing klone(LineToParse l)
Token