~zorba-coders/zorba/trunk

« back to all changes in this revision

Viewing changes to src/diagnostics/pregenerated/dict_en.cpp

  • Committer: Zorba Jenkins
  • Author(s): Federico Cavalieri
  • Date: 2014-04-29 20:37:35 UTC
  • mfrom: (11714.2.7 feature-caching-annotations)
  • Revision ID: jenkins@lambda.nu-20140429203735-mgu2acarnn71p66l
Greatly improved function caching.

* Changed function annotations:
  - %an:deterministic: disables caching (previously %an:no-cache)
  - %an:strictlydeterministic: enables caching for deterministic and non-deterministic functions. Cache is only within the same snapshot.
  - %an:cache enables caching  for deterministic, non-deterministic and sequential functions. Caches is across snapshots. (unchanged)
  - %an:exclude-from-cache-key(n) specifies that a function argument has to be ignored when computing the cache key
  - %an:compare-with-deep-equal(n) specifies that a function argument has to be compared with deep-equal semantics
  
* Changed criteria for default annotations of internal and external functions:
  - Functions which have no %an:deterministic, %an:nondeterministic or %an:strictlydeterministic annotations and all their parameter and the return types are atomics are now automatically annotated %an:strictlydeterministic
  - All the other functions are annotated %an:deterministic
* Added snapshot id in global dynamic context
* Added dynamic context xquery module
* Added strict equality hashmap
* Reimplemented %an:cache
* Enabled caching for function that have non atomic arguments
* Whenever the eager evaluation of a function arguments raises an error, the evaluation is retried without cache. The function cache is then disabled if it was automatically detected.
Approved: Matthias Brantner, Federico Cavalieri

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
  { "zerr:ZXQP0050", "\"$1\": feature not available" },
518
518
  { "zerr:ZXQP0060", "\"$1\": unknown option" },
519
519
  { "zerr:ZXQP0061", "\"$1\": this option cannot be specified in a query, it must be set via C++ API or command-line parameter" },
 
520
  { "zerr:ZXQP0062", "\"$1\": annotation requires at least one literal" },
 
521
  { "zerr:ZXQP0063", "\"$1\": is not a valid annotation literal for annotation \"$2\", literal has type $3, whereas the allowed types are: $4" },
 
522
  { "zerr:ZXQP0064", "\"$1\": is not a valid argument index for function \"$2\", valid indexes are in the range [1-$3]" },
 
523
  { "zerr:ZXQP0065", "\"$1\": is not a valid annotation for function \"$2\", $3" },
520
524
#if !defined(ZORBA_NO_FULL_TEXT)
521
525
  { "zerr:ZXQP8401", "\"$1\": wrong WordNet file version; should be \"$2\"" },
522
526
#endif
541
545
  { "zwarn:ZWST0009", "feature not supported by the common language grammar${: 1}" },
542
546
  { "~AllMatchesHasExcludes", "AllMatches contains StringExclude" },
543
547
  { "~AlreadySpecified", "already specified" },
 
548
  { "~AppendStringValue", "append string value" },
544
549
  { "~AppliedAt", "applied at" },
545
550
  { "~ArithOpNotDefinedBetween_23", "arithmetic operation not defined between types \"$2\" and \"$3\"" },
546
551
  { "~AtomizationHasMoreThanOneValue", "atomization has more than one value" },
1018
1023
  { "~XQST0097_MustBeZeroDigit", "must be a digit (Unicode category Nd) and represent zero" },
1019
1024
  { "~XQST0106_Conflicting", "$2: conflicting annotations in declaration" },
1020
1025
  { "~XQST0106_Duplicate", "$2: annotation appears more than once in declaration" },
 
1026
  { "~XQST0106_Requirement", "$2: annotation requires one of the following annotations: $3" },
1021
1027
  { "~XQST0116_Conflicting", "$2: conflicting annotations in declaration" },
1022
1028
  { "~XQST0116_Duplicate", "$2: annotation appears more than once in declaration" },
 
1029
  { "~XQST0116_Requirement", "$2: annotation requires one of the following annotations: $3" },
1023
1030
  { "~XQST0123_UnrecognizedRequiredFeature_2", "\"$2\": unrecognized required feature" },
1024
1031
  { "~XQST0123_UnrecognizedXQueryOption_2", "\"$2\": unrecognized option in XQuery namespace" },
1025
1032
  { "~XUDY0021_AttributeName", "\"$3\": attribute with the same name already exists" },
1048
1055
  { "~ZJ2X0002_tagNameRequired", "must contain a \"tagName\" key" },
1049
1056
  { "~ZSTR0060_ForCollection_3", "for collection \"$3\"" },
1050
1057
  { "~ZSTR0060_ForSequence", "for sequence" },
1051
 
  { "~ZWST0005_PARAM_TYPE", "type of parameter $3 is $4 which is not a subtype of xs:anyAtomicType" },
1052
 
  { "~ZWST0005_RETURN_TYPE", "return type ($3) is not subtype of xs:anyAtomicType" },
 
1058
  { "~ZWST0005_SEQUENTIAL", "function is sequential" },
1053
1059
  { "~ZWST0005_UPDATING", "function is updating" },
1054
1060
  { "~ZWST0005_VARIADIC", "function is variadic" },
1055
1061
  { "~ZWST0009_APOS_STRING", "single-quote (apostrophe) quoted strings" },
1072
1078
  { "~ZXQD0004_NOT_WITHIN_RANGE", "not within allowed range ($2)" },
1073
1079
  { "~ZXQP0004_TypeOps_is_in_scope_ForFunctionItemTypes", "TypeOps::is_in_scope() for function-item types" },
1074
1080
  { "~ZXQP0025_RESOURCE_NOT_FOUND", "resource not found" },
 
1081
  { "~ZXQP0065_NO_ARGUMENTS", "function has no arguments" },
1075
1082
  { "~ZeroLenURI", "zero-length URI (and no base URI given)" },
1076
1083
  { "~dynamic error", "dynamic error" },
1077
1084
  { "~dynamic warning", "dynamic warning" },