Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, parent=None, filename=None, cwd=None, parsed_files=None):
super(NginxParseContext, self).__init__(parent, filename, cwd)
self.parsed_files = parsed_files if parsed_files else {}
def child(self, parent, filename=None):
return NginxParseContext(parent,filename if filename else self.filename,
self.cwd, self.parsed_files)