package x2x.translator.xcodeml.xelement;

import org.w3c.dom.Element;

/**
 * The XintConstant represents the FintConstant elements (7.1.1) element in
 * XcodeML intermediate representation.
 *
 * Elements: defined in Xconstant
 * - contains constant value
 * Attributes: defined in Xconstant
 * - Optional: type (text), kind (text)
 */

public class XintConstant extends Xconstant {
  public XintConstant(Element intConstantElement){
    super(intConstantElement);
  }

  public XintConstant create(XcodeProg xcodeml, String value, String type,
    String kind)
  {
    Xconstant constant = create(xcodeml, value, type, kind, XconstType.INT);
    return constant == null ? null : (XintConstant)constant;
  }
}

@@ -316,21 +316,78 @@
 ext)
-, kind (text)
+ defined in Xconstant, kind (text) defined%0A *             in Xconstant
 %0A */
@@ -434,16 +434,17 @@
 stant %7B%0A
+%0A
   public

Add comment + fix typo