Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3431

New setters for Statement subclasses

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7-beta-1
    • Fix Version/s: 1.6.1, 1.5.8, 1.7-beta-1
    • Component/s: Compiler
    • Labels:
      None

      Description

      The following setters should be added:

      • ForStatement.setLoopBlock()
      • WhileStatement.setLoopBlock()
      • DoWhileStatement.setLoopBlock()
      • TryCatchStatement.setFinallyStatement()
      • CaseStatement.setCode()

      This will make it much easier for AST transformations to replace individual statements.

        Attachments

          Activity

            People

            • Assignee:
              pniederw Peter Niederwieser
              Reporter:
              pniederw Peter Niederwieser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: