pycscope.py File Reference

PyCscope creates a Cscope-like index file for a tree of Python source. More...


Namespaces

namespace  pycscope
 PyCscope creates a Cscope-like index file for a tree of Python source.

Functions

def pycscope::main
def pycscope::parseDir
def pycscope::parseFile
def pycscope::parseSource
def pycscope::walkAst
def pycscope::writeIndex

Variables

string pycscope::__author__ = "Dean Hall"
string pycscope::__copyright__ = "Copyright 2006 Dean Hall. See LICENSE for details."
string pycscope::__date__ = "2007/12/25"
string pycscope::__version__ = "0.3"
string pycscope::__usage__
string pycscope::MARK_FILE = "\t@"
string pycscope::MARK_FUNC_DEF = "\t$"
string pycscope::MARK_FUNC_CALL = "\t`"
string pycscope::MARK_FUNC_END = "\t}"
string pycscope::MARK_INCLUDE = "\t~<"
string pycscope::MARK_ASGN = "\t="
string pycscope::MARK_CLASS = "\tc"
string pycscope::MARK_GLOBAL = "\tg"
string pycscope::MARK_FUNC_PARM = "\tp"
tuple pycscope::tok_name_lookup = dict((v,k) for k,v in token.tok_name.iteritems())
list pycscope::TOK_NEWLINE = tok_name_lookup["NEWLINE"]
list pycscope::TOK_NAME = tok_name_lookup["NAME"]
list pycscope::TOK_LPAR = tok_name_lookup["LPAR"]
list pycscope::TOK_ENDMARKER = tok_name_lookup["ENDMARKER"]
list pycscope::TOK_INDENT = tok_name_lookup["INDENT"]
list pycscope::TOK_DEDENT = tok_name_lookup["DEDENT"]
tuple pycscope::sym_name_lookup = dict((v,k) for k,v in symbol.sym_name.iteritems())
list pycscope::SYM_TRAILER = sym_name_lookup["trailer"]
list pycscope::SYM_VARARGSLIST = sym_name_lookup["varargslist"]
 pycscope::kwlist = keyword.kwlist
int pycscope::latestnewline = 1
string pycscope::latestsymbol = ""
string pycscope::latesttoken = ""
string pycscope::prevtoken = ""
string pycscope::mark = ""
 pycscope::infuncdef = False
int pycscope::indentcount = 0


Detailed Description

PyCscope creates a Cscope-like index file for a tree of Python source.


Generated on Wed Feb 24 13:37:02 2010 for Python-on-a-chip by  doxygen 1.5.9