public class GosuDocument.Scanner extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getEndOffset()
This fetches the ending location of the current
token in the document.
|
int |
getStartOffset()
This fetches the starting location of the current
token in the document.
|
int |
getType() |
boolean |
isReservedWord(String strWord) |
void |
nextToken() |
void |
setRange(int p0,
int p1)
Sets the range of the scanner.
|
public boolean isReservedWord(String strWord)
public void setRange(int p0,
int p1)
throws IOException
IOExceptionpublic final int getStartOffset()
public final int getEndOffset()
public int getType()
public void nextToken()
throws IOException
IOExceptionCopyright © 2020. All rights reserved.