Groovy for Domain-specific Languages - Second Edition

(nextflipdebug2) #1
[ 354 ]

program logic, using with 155
SAXBuilder 156
SwingBuilder 156
working 176 - 179
BuilderSupport
about 255
database builder 261 - 266
hook methods 255 - 260
built-in methods
adding 132 - 136
built-in tasks, Gradle tasks
about 39
dependencies 40
projects 40
tasks 40
wrapper 40


C


closure parameters
about 97 , 98
closures, implementing in Java 101 , 102
curried parameters 103 , 104
default parameter values 101
doCall method 99 , 100
multiple parameters, passing 101
zero parameters, enforcing 98
closure return values 104
closures, as method parameters
about 88 , 89
method parameters, as DSL 89 , 90
parameters, forwarding 90 , 91
closure scope
about 105 - 107
closure composition 108
closure memoization 110
closure trampoline 109
delegate variable 108
owner variable 108
this variable 108
closures, Groovy
about 14 , 86 , 122
calling 92 , 93
collection methods 87 , 88
implicit doCall method 94
markup 16 - 18


operator overloading 15
optional syntax 15 , 16
regular expression support 15
Cloud9
URL 313
CoderDojo
URL 309
collections
about 77
lists 78 , 79
maps 80 , 81
ranges 77 , 78
command chains 144 , 145
command-line interface
adding 131
CompilationConfiguration object
reference 133
compiler phases, AST
about 187
canonicalization 188
class generation 188
conversion 188
finalization 188
initialization 187
instruction selection 188
output 188
parsing 187
semantic analysis 188
composition relationship 237
control structures
about 70
Elvis operator 72 , 73
Groovy Truth 71 , 72
loops 76
spaceship operator 74 , 75
switch statement 76
ternary operator 72 - 74
cURL
about 115
URL 115
curried closures 103
curried parameters 103
currying 103
Cygwin
about 23
URL 23

http://www.ebook3000.com
Free download pdf