MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

thirdparty/bottle/bottle.py:4477–4483  ·  view source on GitHub ↗
(self, source, syntax=None, encoding='utf8')

Source from the content-addressed store, hash-verified

4475 default_syntax = '<% %> % {{ }}'
4476
4477 def __init__(self, source, syntax=None, encoding='utf8'):
4478 self.source, self.encoding = touni(source, encoding), encoding
4479 self.set_syntax(syntax or self.default_syntax)
4480 self.code_buffer, self.text_buffer = [], []
4481 self.lineno, self.offset = 1, 0
4482 self.indent, self.indent_mod = 0, 0
4483 self.paren_depth = 0
4484
4485 def get_syntax(self):
4486 """ Tokens as a space separated string (default: <% %> % {{ }}) """

Callers

nothing calls this directly

Calls 2

set_syntaxMethod · 0.95
touniFunction · 0.85

Tested by

no test coverage detected