public void Visit(ContinueNode node)
 {
     if (node != null)
     {
         DoesRequire = true;
     }
 }
示例#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");
 }
示例#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);
            }
        }
示例#5
0
 public void Visit(ContinueNode node)
 {
     ReportError(node);
 }
 public void Visit(ContinueNode node)
 {
     // invalid! ignore
     IsValid = false;
 }