X-Git-Url: http://nitlanguage.org diff --git a/contrib/pep8analysis/src/parser/parser_prod.nit b/contrib/pep8analysis/src/parser/parser_prod.nit index 8f71631..533cdb0 100644 --- a/contrib/pep8analysis/src/parser/parser_prod.nit +++ b/contrib/pep8analysis/src/parser/parser_prod.nit @@ -1,6 +1,6 @@ # Production AST nodes full definition. # This file was generated by SableCC (http://www.sablecc.org/). -module parser_prod +module parser_prod is no_warning("missing-doc") import lexer intrude import parser_nodes @@ -8,9 +8,7 @@ private import tables redef class ANode # Parent of the node in the AST - var _parent: nullable ANode - fun parent: nullable ANode do return _parent - fun parent=(p: nullable ANode) do _parent = p + var parent: nullable ANode is writable # Remove a child from the AST fun remove_child(child: ANode)