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

Method PopIndent

validator/validator_gen_js.py:68–70  ·  view source on GitHub ↗

Pops a particular indent from the stack, reverting to the previous.

(self)

Source from the content-addressed store, hash-verified

66 self.indent_by_.append(self.indent_by_[-1] + indent)
67
68 def PopIndent(self):
69 """Pops a particular indent from the stack, reverting to the previous."""
70 self.indent_by_.pop()
71
72 def Line(self, line):
73 """Adds a line to self.lines, applying the indent."""

Callers 3

PrintClassForFunction · 0.80
PrintEnumForFunction · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected