Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(1)  |  Derive(3)  |  Import(4)
Outlines are returned by an Outliner class

src/p/i/pida-0.6.2/pida-plugins/rst/rst.py   pida(Download)
# PIDA imports
from pida.core.languages import LanguageService, Outliner, Validator
from pida.utils.languages import (LANG_PRIO,
    LANG_OUTLINER_TYPES, OutlineItem,
    LANG_VALIDATOR_TYPES, LANG_VALIDATOR_SUBTYPES, ValidationError)
class RSTItem(OutlineItem):
    @property
    def fullname(self):
        if not self.parent_name:
            return self.name

src/p/i/pida-0.6.2/tests/core/test_languages_extern.py   pida(Download)
import py
import os
#from pida.core.doctype import DocType
#from pida.core.testing import test, assert_equal, assert_notequal
from pida.utils.languages import OutlineItem, ValidationError, Definition, \
    def get_outline(self):
        yield os.getpid()
        for i in xrange(50):
            yield OutlineItem(name="run %s" % i, line=i)
 

src/p/i/pida-0.6.2/pida-plugins/ctags/ctags.py   pida(Download)
    Completer, LanguageServiceFeaturesConfig, LanguageInfo, Definer, Documentator)
 
from pida.utils.languages import (LANG_PRIO, LANG_OUTLINER_TYPES, OutlineItem )
 
# locale
class CtagItem(OutlineItem):
    def _get_fullname(self):
        if not self.parent_name:
            return self.name
        return "%s.%s" %(self.parent_name, self.name)

src/p/i/pida-0.6.2/pida-plugins/python/ropebrowser.py   pida(Download)
from rope.base import pynames, pyobjects, builtins
 
from pida.utils.languages import LANG_OUTLINER_TYPES, OutlineItem
from itertools import count
 
class SourceTreeItem(OutlineItem):
 
    def __init__(self, mod, name, node, parent, parent_obj=None):
        self.id = OUTLINE_COUNTER.next()
        self.name = name