mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Remove obsolete commented-out code
This commit is contained in:
parent
aca8dd794b
commit
22edcf0c67
1 changed files with 0 additions and 8 deletions
|
@ -32,14 +32,6 @@ class ObjectContent(AstNode):
|
||||||
def gir_class(self):
|
def gir_class(self):
|
||||||
return self.parent.gir_class
|
return self.parent.gir_class
|
||||||
|
|
||||||
# @validate()
|
|
||||||
# def only_one_style_class(self):
|
|
||||||
# if len(self.children[Style]) > 1:
|
|
||||||
# raise CompileError(
|
|
||||||
# f"Only one style directive allowed per object, but this object contains {len(self.children[Style])}",
|
|
||||||
# start=self.children[Style][1].group.start,
|
|
||||||
# )
|
|
||||||
|
|
||||||
def emit_xml(self, xml: XmlEmitter):
|
def emit_xml(self, xml: XmlEmitter):
|
||||||
for x in self.children:
|
for x in self.children:
|
||||||
x.emit_xml(xml)
|
x.emit_xml(xml)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue