Did I find the right examples for you? yes no

All Samples(375)  |  Call(70)  |  Derive(0)  |  Import(305)
Like a template syntax error, but covers cases where something in the
template caused an error at compile time that wasn't necessarily caused
by a syntax error.  However it's a direct subclass of
:exc:`TemplateSyntaxError` and has the same attributes.

src/w/e/webapp2_example-HEAD/lib/jinja2/compiler.py   webapp2_example(Download)
from jinja2.nodes import EvalContext
from jinja2.visitor import NodeVisitor
from jinja2.exceptions import TemplateAssertionError
from jinja2.utils import Markup, concat, escape, is_python_keyword, next
 
    def fail(self, msg, lineno):
        """Fail with a :exc:`TemplateAssertionError`."""
        raise TemplateAssertionError(msg, lineno, self.name, self.filename)
 
    def temporary_identifier(self):

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/compiler.py   gae-twitter-oauth-example(Download)
from jinja2.nodes import EvalContext
from jinja2.visitor import NodeVisitor, NodeTransformer
from jinja2.exceptions import TemplateAssertionError
from jinja2.utils import Markup, concat, escape, is_python_keyword, next
 
    def fail(self, msg, lineno):
        """Fail with a :exc:`TemplateAssertionError`."""
        raise TemplateAssertionError(msg, lineno, self.name, self.filename)
 
    def temporary_identifier(self):

src/w/e/webapp2_example-HEAD/lib/jinja2/__init__.py   webapp2_example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/__init__.py   gae-twitter-oauth-example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/w/e/webapp2_example-HEAD/lib/jinja2/parser.py   webapp2_example(Download)
"""
from jinja2 import nodes
from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError
from jinja2.utils import next
from jinja2.lexer import describe_token, describe_token_expr

src/w/e/webapp2_example-HEAD/lib/jinja2/ext.py   webapp2_example(Download)
from jinja2.environment import Environment
from jinja2.runtime import Undefined, concat
from jinja2.exceptions import TemplateAssertionError, TemplateSyntaxError
from jinja2.utils import contextfunction, import_string, Markup, next
 

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/parser.py   gae-twitter-oauth-example(Download)
"""
from jinja2 import nodes
from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError
from jinja2.utils import next
from jinja2.lexer import describe_token, describe_token_expr

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/ext.py   gae-twitter-oauth-example(Download)
from jinja2.environment import get_spontaneous_environment
from jinja2.runtime import Undefined, concat
from jinja2.exceptions import TemplateAssertionError, TemplateSyntaxError
from jinja2.utils import contextfunction, import_string, Markup, next
 

src/w/e/webapp2_example-HEAD/lib/jinja2/testsuite/ext.py   webapp2_example(Download)
 
from jinja2 import Environment, DictLoader, contextfunction, nodes
from jinja2.exceptions import TemplateAssertionError
from jinja2.ext import Extension
from jinja2.lexer import Token, count_newlines

src/s/l/slider-HEAD/slider-agent/src/main/python/jinja2/jinja2/compiler.py   slider(Download)
from jinja2.nodes import EvalContext
from jinja2.visitor import NodeVisitor, NodeTransformer
from jinja2.exceptions import TemplateAssertionError
from jinja2.utils import Markup, concat, escape, is_python_keyword, next
 
    def fail(self, msg, lineno):
        """Fail with a :exc:`TemplateAssertionError`."""
        raise TemplateAssertionError(msg, lineno, self.name, self.filename)
 
    def temporary_identifier(self):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next