Packages

c

io.shiftleft.pythonparser

SimpleCharStream

class SimpleCharStream extends AnyRef

An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleCharStream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SimpleCharStream(dstream: InputStream)

    Constructor.

  2. new SimpleCharStream(dstream: InputStream, encoding: String)

    Constructor.

  3. new SimpleCharStream(dstream: InputStream, startline: Int, startcolumn: Int)

    Constructor.

  4. new SimpleCharStream(dstream: InputStream, encoding: String, startline: Int, startcolumn: Int)

    Constructor.

  5. new SimpleCharStream(dstream: InputStream, startline: Int, startcolumn: Int, buffersize: Int)

    Constructor.

  6. new SimpleCharStream(dstream: InputStream, encoding: String, startline: Int, startcolumn: Int, buffersize: Int)

    Constructor.

  7. new SimpleCharStream(dstream: Reader)

    Constructor.

  8. new SimpleCharStream(dstream: Reader, startline: Int, startcolumn: Int)

    Constructor.

  9. new SimpleCharStream(dstream: Reader, startline: Int, startcolumn: Int, buffersize: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def BeginToken(): Char

    Start.

  5. def Done(): Unit

    Reset buffer when finished.

  6. def ExpandBuff(wrapAround: Boolean): Unit
    Attributes
    protected[pythonparser]
  7. def FillBuff(): Unit
    Attributes
    protected[pythonparser]
  8. def GetImage(): String

    Get token literal value.

  9. def GetSuffix(len: Int): Array[Char]

    Get the suffix.

  10. def ReInit(dstream: InputStream, startline: Int, startcolumn: Int): Unit

    Reinitialise.

  11. def ReInit(dstream: InputStream, encoding: String, startline: Int, startcolumn: Int): Unit

    Reinitialise.

  12. def ReInit(dstream: InputStream): Unit

    Reinitialise.

  13. def ReInit(dstream: InputStream, encoding: String): Unit

    Reinitialise.

  14. def ReInit(dstream: InputStream, startline: Int, startcolumn: Int, buffersize: Int): Unit

    Reinitialise.

  15. def ReInit(dstream: InputStream, encoding: String, startline: Int, startcolumn: Int, buffersize: Int): Unit

    Reinitialise.

  16. def ReInit(dstream: Reader): Unit

    Reinitialise.

  17. def ReInit(dstream: Reader, startline: Int, startcolumn: Int): Unit

    Reinitialise.

  18. def ReInit(dstream: Reader, startline: Int, startcolumn: Int, buffersize: Int): Unit

    Reinitialise.

  19. def UpdateLineColumn(c: Char): Unit
    Attributes
    protected[pythonparser]
  20. def adjustBeginLineColumn(newLine: Int, newCol: Int): Unit

    Method to adjust line and column numbers for the start of a token.

  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def backup(amount: Int): Unit

    Backup a number of characters.

  23. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. def getBeginColumn(): Int

    Get token beginning column number.

  27. def getBeginLine(): Int

    Get token beginning line number.

  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def getEndColumn(): Int

    Get token end column number.

  30. def getEndLine(): Int

    Get token end line number.

  31. def getTabSize(): Int
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def readChar(): Char

    Read a character.

  38. def setTabSize(i: Int): Unit
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def getColumn(): Int

    Annotations
    @Deprecated
    Deprecated
    See also

    #getEndColumn

  3. def getLine(): Int

    Annotations
    @Deprecated
    Deprecated
    See also

    #getEndLine

Inherited from AnyRef

Inherited from Any

Ungrouped