public override Node GetNode(PythonAst root) { if (_suite.Statements.Count == 0) { return(_suite); } return(_suite.CloneSubset(Parents[0] as PythonAst, _start, _end)); }
public override Node GetNode() { if (_suite.Statements.Count == 0) { return(_suite); } return(_suite.CloneSubset(Ast, _start, _end)); }