Package lemon :: Package external :: Package Cheetah :: Module Lexer :: Class CheetahLexer
[show private | hide private]
[frames | no frames]

Class CheetahLexer

_SettingsCollector --+        
                     |        
       SettingsManager --+    
                         |    
          SourceReader --+    
                         |    
               PythonLexer --+
                             |
                            CheetahLexer


Method Summary
  getCheetahToken(self)
  matchCheetahToken(self)
    Inherited from PythonLexer
  __init__(self, src, filename, breakPoint)
  getPyToken(self)
  matchPyToken(self)
    Inherited from SettingsManager
  copySettings(self)
Returns a shallow copy of the settings dictionary...
  deepcopySettings(self)
Returns a deep copy of the settings dictionary...
  getConfigString(self)
Return a string with the settings in .ini file format.
  hasSetting(self, key)
True/False...
  setSetting(self, name, value)
Set a setting in self._settings.
  setting(self, name, default)
Get a setting from self._settings, with or without a default value.
  settings(self)
Return a reference to the settings dictionary...
  updateSettings(self, newSettings, merge)
Update the settings with a selective merge or a complete overwrite.
  updateSettingsFromConfigFile(self, path, **kw)
Update the settings from a text file using the syntax accepted by Python's standard ConfigParser module (like Windows .ini files).
  updateSettingsFromConfigFileObj(self, inFile, convert, merge)
See the docstring for .updateSettingsFromConfigFile() The caller of this method is responsible for closing the inFile file object.
  updateSettingsFromConfigStr(self, configStr, convert, merge)
See the docstring for .updateSettingsFromConfigFile()...
  updateSettingsFromPySrcFile(self, path, merge)
Update the settings from variables in a Python source file.
  updateSettingsFromPySrcStr(self, theString, merge)
Update the settings from a code in a Python src string.
  writeConfigFile(self, path)
Write all the settings that can be represented as strings to an .ini style config file.
    Inherited from SourceReader
  __getitem__(self, i)
  __getslice__(self, i, j)
  __len__(self)
  advance(self, offset)
  atEnd(self)
  atStart(self)
  breakPoint(self)
  checkPos(self, pos)
  filename(self)
  find(self, it, pos)
  findBOL(self, pos)
  findEOL(self, pos)
  getc(self)
  getLine(self, pos)
  getRowCol(self, pos)
  getRowColLine(self, pos)
  gotoBookmark(self, name)
  hasBookmark(self, name)
  lineNum(self, pos)
  peek(self, offset)
  pos(self)
  read(self, offset)
  readTo(self, to, start)
  readToEOL(self, gobble)
  rev(self, offset)
  rfind(self, it, pos)
  setBookmark(self, name)
  setBreakPoint(self, pos)
  setPos(self, pos)
  splitlines(self)
  src(self)
  startswith(self, it, pos)
  ungetc(self, c)
  validPos(self, pos)

Generated by Epydoc 2.0 on Mon Nov 10 15:07:56 2003 http://epydoc.sf.net