public class LeolaWordToken extends LeolaToken
Constructor and Description |
---|
LeolaWordToken(Source source) |
Modifier and Type | Method and Description |
---|---|
protected void |
extract()
Extract a Leola word token from the source.
|
static boolean |
isValidIdentifierCharacter(char c)
Determines if the supplied character is valid inside the identifier
|
static boolean |
isValidStartIdentifierCharacter(char c)
Determines if the supplied character is a valid start character for an identifier
|
currentChar, getLineNumber, getPosition, getText, getType, getValue, nextChar, peekAhead, peekChar, toString
public LeolaWordToken(Source source) throws IOException
source
- the source from where to fetch the token's characters.Exception
- if an error occurred.IOException
public static final boolean isValidIdentifierCharacter(char c)
c
- public static final boolean isValidStartIdentifierCharacter(char c)
c
- protected void extract() throws IOException
extract
in class Token
Exception
- if an error occurred.IOException
Copyright © 2010–2015. All rights reserved.