MCPcopy Create free account
hub / github.com/ampproject/amphtml / Line

Method Line

validator/validator_gen_js.py:72–74  ·  view source on GitHub ↗

Adds a line to self.lines, applying the indent.

(self, line)

Source from the content-addressed store, hash-verified

70 self.indent_by_.pop()
71
72 def Line(self, line):
73 """Adds a line to self.lines, applying the indent."""
74 self.lines.append('%s%s' % (' ' * self.indent_by_[-1], line))
75
76
77class MessageKey(object):

Callers 4

PrintClassForFunction · 0.80
PrintEnumForFunction · 0.80
PrintObjectFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected