groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: Documentation: some cosmetic corrections of the "type checking extensions" section
Date Mon, 01 Jun 2015 22:06:39 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 781994243 -> f8e904a2c


Documentation: some cosmetic corrections of the "type checking extensions" section


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/f8e904a2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/f8e904a2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/f8e904a2

Branch: refs/heads/GROOVY_2_4_X
Commit: f8e904a2cf3f40a940503178480514c24a99e57a
Parents: 7819942
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Tue Jun 2 00:05:14 2015 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Tue Jun 2 00:06:10 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/type-checking-extensions.adoc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f8e904a2/src/spec/doc/type-checking-extensions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/type-checking-extensions.adoc b/src/spec/doc/type-checking-extensions.adoc
index 7cd8373..bb27e32 100644
--- a/src/spec/doc/type-checking-extensions.adoc
+++ b/src/spec/doc/type-checking-extensions.adoc
@@ -185,7 +185,7 @@ script can react:
 | Called after the type checker finished initialization
 
 | *Arguments*
-|
+| none
 | *Usage*
 |
 [source,groovy]
@@ -205,7 +205,7 @@ Can be used to perform setup of your extension
 | Called after the type checker completed type checking
 
 | *Arguments*
-|
+| none
 | *Usage*
 |
 [source,groovy]
@@ -670,7 +670,7 @@ if (isBinaryExpression(node)) {
 ==== Virtual methods
 
 When you perform type checking of dynamic code, you may often face the
-case when you know that a method call is valid but there is no ``real''
+case when you know that a method call is valid but there is no "real"
 method behind it. As an example, take the Grails dynamic finders. You
 can have a method call consisting of a method named _findByName(…)_. As
 there’s no _findByName_ method defined in the bean, the type checker
@@ -802,7 +802,7 @@ take special attention to those methods:
 
 * `isDynamic`: takes a VariableExpression as argument and returns true
 if the variable is a DynamicExpression, which means, in a script, that
-it wasn’t defined using a type or def.
+it wasn’t defined using a type or `def`.
 * `isGenerated`: takes a MethodNode as an argument and tells if the
 method is one that was generated by the type checker extension using
 the `newMethod` method
@@ -1067,7 +1067,7 @@ https://github.com/apache/incubator-groovy/blob/master/src/test/groovy/transform
 class which is linked to
 https://github.com/apache/incubator-groovy/tree/master/src/test-resources/groovy/transform/stc[various
extension scripts].
 
-But an example of the most complex type checking extension can be found in the link:markup-template-engine.html[Markup
Template Engine]
+An example of a complex type checking extension can be found in the link:markup-template-engine.html[Markup
Template Engine]
 source code: this template engine relies on a type checking extension and AST transformations
to transform templates into
 fully statically compiled code. Sources for this can be found
 https://github.com/apache/incubator-groovy/tree/master/subprojects/groovy-templates/src/main/groovy/groovy/text/markup[here].
\ No newline at end of file


Mime
View raw message