unit Constants;

interface

   const VERSION:String = '2012-03-10';

   const JASS_ARRAY_SIZE=8191;
   const VJASS_MAX_ARRAY_INDEXES = 409550;
   const JASS_ARRAYS_BEFORE_SPLIT=1;
   const EXTERNAL_SIZE_LIMIT=1000;

   const SLK_LOADSTRUCTS_BATCHSIZE = 100;

   const ACCESS_PUBLIC=0;
   const ACCESS_PRIVATE=1;
   const ACCESS_READONLY=2;

   const  VERYBIG= 2147483647;

   const UPDATEVALUE=100;


   const SEPARATORS: set of char=[ '.', '(',' ',#9,')' , ',', '+', '-', '*', '/' ,'"', '''', '=','!', '<', '>','[',']',':' ];
   const WHITESPACE_SEPARATORS : set of char=[' ',#9];

   const NUMBERS: set of char=['0','1','2','3','4','5','6','7','8','9'];
   const NONNUMBERSIDENTIFCHAR: set of char=[ 'a'..'z', 'A'..'Z', '_'];
   const IDENTIFCHARS: set of char=[ '0'..'9' , '_' , 'a'..'z', 'A'..'Z'];

   const ARRAYEDTYPE=1000000;
   const METHODTYPE = -5;
   const FUNCTION_NAME_TYPE = -6;

   const TAB = #9;
   const CR = #13;
   const LF = #10;
   const CRLF = CR + LF;

   const GRAMMARPATH = 'jasshelper.cgt';

   const STRUCT_STRING_LIMIT: integer = 62;

implementation

end.
