Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Properties | Private Attributes | List of all members
pip._vendor.html5lib.inputstream.EncodingBytes Class Reference
Inheritance diagram for pip._vendor.html5lib.inputstream.EncodingBytes:

Public Member Functions

def __new__
 
def __init__
 
def __iter__
 
def __next__
 
def next
 
def previous
 
def setPosition
 
def getPosition
 
def getCurrentByte
 
def skip
 
def skipUntil
 
def matchBytes
 
def jumpTo
 

Properties

 position = property(getPosition, setPosition)
 
 currentByte = property(getCurrentByte)
 

Private Attributes

 _position
 

Detailed Description

String-like object with an associated position and various extra methods
If the position is ever greater than the string length then an exception is
raised

Constructor & Destructor Documentation

def pip._vendor.html5lib.inputstream.EncodingBytes.__init__ (   self,
  value 
)

Member Function Documentation

def pip._vendor.html5lib.inputstream.EncodingBytes.__iter__ (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.__new__ (   self,
  value 
)
def pip._vendor.html5lib.inputstream.EncodingBytes.__next__ (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.getCurrentByte (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.getPosition (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.jumpTo (   self,
  bytes 
)
Look for the next sequence of bytes matching a given sequence. If
a match is found advance the position to the last byte of the match
def pip._vendor.html5lib.inputstream.EncodingBytes.matchBytes (   self,
  bytes 
)
Look for a sequence of bytes at the start of a string. If the bytes
are found return True and advance the position to the byte after the
match. Otherwise return False and leave the position alone
def pip._vendor.html5lib.inputstream.EncodingBytes.next (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.previous (   self)
def pip._vendor.html5lib.inputstream.EncodingBytes.setPosition (   self,
  position 
)
def pip._vendor.html5lib.inputstream.EncodingBytes.skip (   self,
  chars = spaceCharactersBytes 
)
Skip past a list of characters
def pip._vendor.html5lib.inputstream.EncodingBytes.skipUntil (   self,
  chars 
)

Member Data Documentation

pip._vendor.html5lib.inputstream.EncodingBytes._position
private

Property Documentation

pip._vendor.html5lib.inputstream.EncodingBytes.currentByte = property(getCurrentByte)
static
pip._vendor.html5lib.inputstream.EncodingBytes.position = property(getPosition, setPosition)
static

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.