Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2888

Ruta IDE parser covers "Identifier" insufficiently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1ruta
    • Fix Version/s: 2.1.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      There is a problem in distinguishing the correct type of a variable/identifier in the ast parser:

      warning(203): org\apache\uima\ruta\ide\core\parser\RutaParser.g:585:2: Input such as "Identifier" is insufficiently covered with predicates at locations: alt 2: line 2050:7 at Identifier
      warning(200): org\apache\uima\ruta\ide\core\parser\RutaParser.g:585:2: Decision can match input such as "Identifier" using multiple alternatives: 1, 2
      As a result, alternative(s) 2 were disabled for that input
      warning(203): org\apache\uima\ruta\ide\core\parser\RutaParser.g:597:2: Input such as "Identifier" is insufficiently covered with predicates at locations: alt 2: line 2050:7 at Identifier
      warning(200): org\apache\uima\ruta\ide\core\parser\RutaParser.g:597:2: Decision can match input such as "Identifier" using multiple alternatives: 1, 2
      As a result, alternative(s) 2 were disabled for that input
      warning(203): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1307:5: Input such as "Identifier" is insufficiently covered with predicates at locations: alt 1: line 2050:7 at Identifier, alt 2: line 2103:7 at Identifier
      warning(200): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1307:5: Decision can match input such as "Identifier" using multiple alternatives: 1, 2
      As a result, alternative(s) 2 were disabled for that input
      warning(203): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1329:5: Input such as "Identifier" is insufficiently covered with predicates at locations: alt 1: line 2166:7 at Identifier, line 1909:7 at Identifier, line 881:7 at Identifier, alt 2: line 2103:7 at Identifier
      warning(200): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1329:5: Decision can match input such as "Identifier" using multiple alternatives: 1, 2
      As a result, alternative(s) 2 were disabled for that input
      warning(203): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1359:5: Input such as "Identifier" is insufficiently covered with predicates at locations: alt 1: line 2050:7 at Identifier, alt 2: line 2103:7 at Identifier
      warning(200): org\apache\uima\ruta\ide\core\parser\RutaParser.g:1359:5: Decision can match input such as "Identifier" using multiple alternatives: 1, 2
      As a result, alternative(s) 2 were disabled for that input

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              pkluegl Peter Klügl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: