How to use the jinja.nodes.Expression.__init__ function in Jinja

To help you get started, we’ve selected a few Jinja examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, node, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.node = node
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, node, name, args, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.node = node
        self.name = name
        self.args = args
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, node, filters, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.node = node
        self.filters = filters
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, items, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.items = items
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, items, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.items = items
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, node, arg, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.node = node
        self.arg = arg
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, test, expr1, expr2, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.test = test
        self.expr1 = expr1
        self.expr2 = expr2
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, start, stop, step, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.start = start
        self.stop = stop
        self.step = step
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, items, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.items = items
github pallets / jinja / jinja / nodes.py View on Github external
def __init__(self, value, lineno=None, filename=None):
        Expression.__init__(self, lineno, filename)
        self.value = value