Package gw.lang.parser
Class SourceCodeReader
java.lang.Object
gw.lang.parser.SourceCodeReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintstatic SourceCodeReadermakeSourceCodeReader(Reader reader) intpeek()intpeek(int n) intread()voidsetPosition(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()
-