package org.codehaus.groovy.tools;
public class GroovyClass
{
public static final GroovyClass[] EMPTY_ARRAY = new GroovyClass[ 0 ];
private String name;
private byte[] bytes;
public
package org.codehaus.groovy.runtime;
import groovy.lang.Closure;
/**
* Represents wrapper around a Closure to support currying
*
* @author Jochen Theodorou
*/
public class CurriedClosure ext
package org.codehaus.groovy.syntax;
import org.codehaus.groovy.syntax.Token;
import org.codehaus.groovy.syntax.TokenException;
public class ParserException extends TokenException {
public Parser
package org.codehaus.groovy.syntax;
public class TokenMismatchException extends TokenException {
private Token unexpectedToken;
private int expectedType;
public TokenMismatchException(To
package gls.scope
class BlockScopeVisibilityTest extends CompilableTestSupport {
public void testForLoopVariableNotVisibleOutside() {
assertScript("""
i=1
for (i in [1,2]) {}
package gls.scope
import gls.scope.CompilableTestSupport
public class MultipleDefinitionOfSameVariableTest extends CompilableTestSupport {
public void testInSameBlock() {
shouldNotCompile("