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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/u/l/ultisnips-HEAD/pythonx/UltiSnips/snippet/definition/ultisnips.py   ultisnips(Download)
 
from UltiSnips.snippet.definition._base import SnippetDefinition
from UltiSnips.snippet.parsing.ultisnips import parse_and_instantiate
 
class UltiSnipsSnippetDefinition(SnippetDefinition):
    """See module doc."""
 
    def instantiate(self, snippet_instance, initial_text, indent):
        return parse_and_instantiate(snippet_instance, initial_text, indent)