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

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

src/u/l/ultisnips-HEAD/pythonx/UltiSnips/snippet/parsing/snipmate.py   ultisnips(Download)
from UltiSnips.snippet.parsing._lexer import EscapeCharToken, \
    VisualToken, TabStopToken, MirrorToken, ShellCodeToken
from UltiSnips.text_objects import EscapedChar, Mirror, VimLCode, Visual
 
_TOKEN_TO_TEXTOBJECT = {
def _create_mirrors(all_tokens, seen_ts):
    """Now that all tabstops are known, we can create mirrors."""
    for parent, token in all_tokens:
        if isinstance(token, MirrorToken):
            Mirror(parent, seen_ts[token.number], token)

src/u/l/ultisnips-HEAD/pythonx/UltiSnips/snippet/parsing/ultisnips.py   ultisnips(Download)
    VisualToken, TransformationToken, TabStopToken, MirrorToken, \
    PythonCodeToken, VimLCodeToken, ShellCodeToken
from UltiSnips.text_objects import EscapedChar, Mirror, PythonCode, \
        ShellCode, TabStop, Transformation, VimLCode, Visual
 
                seen_ts[token.number] = TabStop(parent, token)
            else:
                Mirror(parent, seen_ts[token.number], token)
 
def _create_transformations(all_tokens, seen_ts):