You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by pa...@apache.org on 2015/06/02 00:05:35 UTC

incubator-groovy git commit: Documentation: some cosmetic corrections of the "type checking extensions" section

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 27234afb0 -> a34ed8b1b


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/a34ed8b1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/a34ed8b1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/a34ed8b1

Branch: refs/heads/master
Commit: a34ed8b1b46002a64c3c6f79d4abfa09ac9faa61
Parents: 27234af
Author: pascalschumacher <pa...@gmx.net>
Authored: Tue Jun 2 00:05:14 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue Jun 2 00:05:14 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/a34ed8b1/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