You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Renaud Richardet (JIRA)" <de...@uima.apache.org> on 2015/04/29 07:57:06 UTC

[jira] [Updated] (UIMA-4368) syntax simplification for types declaration

     [ https://issues.apache.org/jira/browse/UIMA-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renaud Richardet updated UIMA-4368:
-----------------------------------
    Attachment: DECLARE.diff
                DECLARE-filelist.txt

Patch with modified tests, as a starting point for the refactoring

> syntax simplification for types declaration
> -------------------------------------------
>
>                 Key: UIMA-4368
>                 URL: https://issues.apache.org/jira/browse/UIMA-4368
>             Project: UIMA
>          Issue Type: Improvement
>          Components: ruta
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: DECLARE-filelist.txt, DECLARE.diff
>
>
> Below a proposal to make the Ruta syntax more succinct:
> When declaring types with a parent type: if no parent type is specified, Annotation is used as the implied default parent type. 
> {code}
> // before
> DECLARE Annotation MyAnnotation(STRING myFeature);
> // after
> DECLARE MyAnnotation(STRING myFeature);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)