[ 
https://issues.apache.org/jira/browse/GROOVY-10771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610216#comment-17610216
 ] 

Christopher Smith commented on GROOVY-10771:
--------------------------------------------

I note that in the documentation, there are supposed to be methods such as 
{{isBinaryExpression}}, but I can't find that they actually exist in the GDK; 
Javadoc and Eclipse search turn up nothing.

> Type-checking extension scripts should import AST classes
> ---------------------------------------------------------
>
>                 Key: GROOVY-10771
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10771
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Static Type Checker
>    Affects Versions: 4.0.5
>            Reporter: Christopher Smith
>            Priority: Minor
>
> Scripts used as type-checking extensions have some imports applied 
> automatically, but these imports do not include, for example, {{ClassNode}}, 
> which is the type of some of the callback signatures to be implemented. It 
> seems to me that the automatic imports should include
> {code}
> org.codehaus.groovy.ast.*
> org.codehaus.groovy.ast.expr.*
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to