Exemplo n.º 1
0
 public override bool Visit(ContractDefinition node)
 {
     foreach (ASTNode child in node.Nodes)
     {
         if (child is FunctionDefinition function)
         {
             if (function.IsConstructor)
             {
                 context.AddConstructorToContract(node, function);
             }
         }
     }
     return(false);
 }