public abstract class FixedSkip extends Token
toBeParsed
Constructor and Description |
---|
FixedSkip()
Standard constructor
|
FixedSkip(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
|
void |
consumeToken()
consume the next token if canParse()==true ; token is stored
in LinetoParse object
|
abstract java.lang.String |
getPattern() |
abstract FixedSkip |
klone(LineToParse l)
return copy of 'this'
|
void |
parse()
actually parse toBeParsed given requested parsing task
|
getEmsg, setLineToParse
public FixedSkip()
public FixedSkip(LineToParse l)
l
- -- line to parsepublic abstract java.lang.String getPattern()
public boolean canParse()
Token
public void consumeToken()
Token
consumeToken
in class Token
public void parse()
Token
public abstract FixedSkip klone(LineToParse l)
Token