Base class for type checking extensions written in Groovy. Compared to its superclass, TypeCheckingExtension, this class adds a number of utility methods aimed at leveraging the syntax of the Groovy language to improve expressivity and conciseness.
Modifiers | Name | Description |
---|---|---|
static class |
GroovyTypeCheckingExtensionSupport.TypeCheckingDSL |
Fields inherited from class | Fields |
---|---|
class AbstractTypeCheckingExtension |
context, debug, handled |
class TypeCheckingExtension |
typeCheckingVisitor |
Constructor and description |
---|
GroovyTypeCheckingExtensionSupport
(StaticTypeCheckingVisitor typeCheckingVisitor, String scriptPath, CompilationUnit compilationUnit) Builds a type checking extension relying on a Groovy script (type checking DSL). |
Builds a type checking extension relying on a Groovy script (type checking DSL).
typeCheckingVisitor
- the type checking visitorscriptPath
- the path to the type checking script (in classpath)Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.