MCPcopy Create free account
hub / github.com/webpy/webpy / visit_Attribute

Method visit_Attribute

web/template.py:1376–1380  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1374 self.fail_name(node)
1375
1376 def visit_Attribute(self, node):
1377 attrname = self.get_node_attr(node)
1378 if self.is_unallowed_attr(attrname):
1379 self.fail_attribute(node, attrname)
1380 super().generic_visit(node)
1381
1382 def visit_Assign(self, node):
1383 self.check_assign_targets(node)

Callers

nothing calls this directly

Calls 4

get_node_attrMethod · 0.95
is_unallowed_attrMethod · 0.95
fail_attributeMethod · 0.95
generic_visitMethod · 0.80

Tested by

no test coverage detected