@@ -0,0 +1,802 @@
+/*%0A * This file is released under terms of BSD license%0A * See LICENSE file for more information%0A */%0Apackage claw.tatsu.xcodeml.abstraction;%0A%0Aimport claw.tatsu.xcodeml.xnode.common.Xnode;%0A%0A/**%0A * Xblock represent a block of statements in the XcodeML representation with a%0A * start and an end.%0A *%0A * @author clementval%0A */%0Apublic class Xblock %7B%0A%0A  private Xnode _startNode;%0A  private Xnode _endNode;%0A%0A  public Xblock(Xnode start) %7B%0A    _startNode = start;%0A    _endNode = null;%0A  %7D%0A%0A  public Xblock(Xnode start, Xnode end) %7B%0A    _startNode = start;%0A    _endNode = end;%0A  %7D%0A%0A  public Xnode getStart() %7B%0A    return _startNode;%0A  %7D%0A%0A  public Xnode getEnd() %7B%0A    return _endNode != null ? _endNode : _startNode;%0A  %7D%0A%0A  public void setEnd(Xnode end) %7B%0A    if(end != null) %7B%0A      _endNode = end;%0A    %7D%0A  %7D%0A%0A%7D%0A

Add Xblock