Search in sources :

Example 6 with ControlBlock

use of com.redhat.ceylon.model.typechecker.model.ControlBlock in project ceylon-compiler by ceylon.

the class DefiniteAssignmentVisitor method visit.

public void visit(Tree.AnyAttribute that) {
    ControlBlock prevControlBlock = forBlock;
    forBlock = null;
    super.visit(that);
    forBlock = prevControlBlock;
}
Also used : ControlBlock(com.redhat.ceylon.model.typechecker.model.ControlBlock)

Aggregations

ControlBlock (com.redhat.ceylon.model.typechecker.model.ControlBlock)6 Value (com.redhat.ceylon.model.typechecker.model.Value)2 Tree (com.redhat.ceylon.compiler.typechecker.tree.Tree)1 Declaration (com.redhat.ceylon.model.typechecker.model.Declaration)1