use of org.eclipse.ceylon.model.typechecker.model.NamedArgumentList in project ceylon by eclipse.
the class DeclarationVisitor method visit.
@Override
public void visit(Tree.NamedArgumentList that) {
NamedArgumentList nal = new NamedArgumentList();
nal.setId(id++);
for (Tree.NamedArgument na : that.getNamedArguments()) {
Tree.Identifier id = na.getIdentifier();
if (id != null) {
nal.getArgumentNames().add(id.getText());
}
}
that.setNamedArgumentList(nal);
visitElement(that, nal);
Scope o = enterScope(nal);
super.visit(that);
exitScope(o);
}
Aggregations