Package gw.lang.parser
Class SourceCodeReader
java.lang.Object
gw.lang.parser.SourceCodeReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
static SourceCodeReader
makeSourceCodeReader
(Reader reader) int
peek()
int
peek
(int n) int
read()
void
setPosition
(int iPosition) subsequence
(int iStart, int iEnd)
-
Field Details
-
_source
-
_iLength
private int _iLength -
_iPosition
private int _iPosition
-
-
Constructor Details
-
SourceCodeReader
-
-
Method Details
-
read
- Throws:
IOException
-
peek
public int peek() -
peek
public int peek(int n) -
getPosition
public int getPosition() -
setPosition
- Throws:
IOException
-
getSource
-
subsequence
-
makeSourceCodeReader
-
getLength
public int getLength()
-