public class LeolaNumberToken extends LeolaToken
Constructor and Description |
---|
LeolaNumberToken(Source source)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
extract()
Extract a Leola number token from the source.
|
protected void |
extractNumber(StringBuilder textBuffer)
Extract a Leola number token from the source.
|
currentChar, getLineNumber, getPosition, getText, getType, getValue, nextChar, peekAhead, peekChar, toString
public LeolaNumberToken(Source source) throws IOException
source
- the source from where to fetch the token's characters.Exception
- if an error occurred.IOException
protected void extract() throws IOException
extract
in class Token
Exception
- if an error occurred.IOException
protected void extractNumber(StringBuilder textBuffer) throws IOException
textBuffer
- the buffer to append the token's characters.Exception
- if an error occurred.IOException
Copyright © 2010–2015. All rights reserved.