Class SourceCodeReader

java.lang.Object
gw.lang.parser.SourceCodeReader

public class SourceCodeReader extends Object
  • Field Details

    • _source

      private CharSequence _source
    • _iLength

      private int _iLength
    • _iPosition

      private int _iPosition
  • Constructor Details

    • SourceCodeReader

      public SourceCodeReader(CharSequence source)
  • Method Details

    • read

      public int read() throws IOException
      Throws:
      IOException
    • peek

      public int peek()
    • peek

      public int peek(int n)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int iPosition) throws IOException
      Throws:
      IOException
    • getSource

      public String getSource()
    • subsequence

      public CharSequence subsequence(int iStart, int iEnd)
    • makeSourceCodeReader

      public static SourceCodeReader makeSourceCodeReader(Reader reader)
    • getLength

      public int getLength()