Exemplo n.º 1
0
 public void Visit(ContinueNode node)
 {
     if (node != null)
     {
         DoesRequire = true;
     }
 }
Exemplo n.º 2
0
 public void Visit(ContinueNode node)
 {
     // starts with a 'continue', so we don't care
 }
 public void Visit(ContinueNode node)
 {
     DebugEx.Fail("shouldn't get here");
 }
Exemplo n.º 4
0
        public override void Visit(ContinueNode node)
        {
            if (node != null)
            {
                if (node.Label != null)
                {
                    // if the nest level is zero, then we might be able to remove the label altogether
                    // IF local renaming is not KeepAll AND the kill switch for removing them isn't set.
                    // the nest level will be zero if the label is undefined.
                    if (node.NestLevel == 0
                        && m_parser.Settings.LocalRenaming != LocalRenaming.KeepAll
                        && m_parser.Settings.IsModificationAllowed(TreeModifications.RemoveUnnecessaryLabels))
                    {
                        node.Label = null;
                    }
                }

                // don't need to call the base; this statement has no children to recurse
                //base.Visit(node);
            }
        }
Exemplo n.º 5
0
 public void Visit(ContinueNode node)
 {
     ReportError(node);
 }
 public void Visit(ContinueNode node)
 {
     // invalid! ignore
     IsValid = false;
 }