package x2x.translator.xcodeml.xelement;

public class XelementName {

  // helpers
  public static final String TRUE = "true";
  public static final String FALSE = "false";
  public static final String SUPPORTED_VERSION = "1.0";
  public static final String SUPPORTED_LANGUAGE = "Fortran";

  // Element attributes
  public static final String ATTR_COMPILER_INFO = "compiler-info";
  public static final String ATTR_FILE = "file";
  public static final String ATTR_IS_PROGRAM = "is_program";
  public static final String ATTR_LANGUAGE = "language";
  public static final String ATTR_LINENO = "lineno";
  public static final String ATTR_REF = "ref";
  public static final String ATTR_RETURN_TYPE = "return_type";
  public static final String ATTR_SCLASS = "sclass";
  public static final String ATTR_SCOPE = "scope";
  public static final String ATTR_SOURCE = "source";
  public static final String ATTR_TIME = "time";
  public static final String ATTR_TYPE = "type";
  public static final String ATTR_VERSION = "version";


  // Element names
  public static final String BASIC_TYPE = "FbasicType";
  public static final String BODY = "body";
  public static final String DECLARATIONS = "declarations";
  public static final String DO_STMT = "FdoStatement";
  public static final String EXPR_STMT = "exprStatement";
  public static final String FCT_DEFINITION = "FfunctionDefinition";
  public static final String FCT_TYPE = "FfunctionType";
  public static final String ID = "id";
  public static final String INDEX_RANGE = "indexRange";
  public static final String INT_CONST = "FintConstant";
  public static final String LENGTH = "len";
  public static final String LOWER_BOUND = "lowerBound";
  public static final String NAME = "name";
  public static final String PRAGMA_STMT = "FpragmaStatement";
  public static final String STEP = "step";
  public static final String SYMBOLS = "symbols";
  public static final String TYPE_TABLE = "typeTable";
  public static final String UPPER_BOUND = "upperBound";
  public static final String VAR = "Var";
  public static final String VAR_DECL = "varDecl";
  public static final String VALUE = "value";
  public static final String X_CODE_PROGRAM = "XcodeProgram";

}

@@ -486,16 +486,689 @@
 ogram%22;%0A
+  public static final String ATTR_INTENT = %22intent%22;%0A  public static final String ATTR_IS_ALLOCATABLE = %22is_allocatable%22;%0A  public static final String ATTR_IS_EXTERNAL = %22is_external%22;%0A  public static final String ATTR_IS_INTRINSIC = %22is_intrinsic%22;%0A  public static final String ATTR_IS_OPTIONAL = %22is_optional%22;%0A  public static final String ATTR_IS_PARAMETER = %22is_parameter%22;%0A  public static final String ATTR_IS_POINTER = %22is_pointer%22;%0A  public static final String ATTR_IS_PRIVATE = %22is_private%22;%0A  public static final String ATTR_IS_PUBLIC = %22is_public%22;%0A  public static final String ATTR_IS_SAVE = %22is_save%22;%0A  public static final String ATTR_IS_TARGET = %22is_target%22;%0A
   public
@@ -1212,24 +1212,24 @@
 %22language%22;%0A
-
   public sta
@@ -1630,24 +1630,24 @@
 E = %22type%22;%0A
+
   public sta
@@ -1690,17 +1690,16 @@
 sion%22;%0A%0A
-%0A
   // Ele

Add attribute for basicType