Esempio n. 1
0
 public void Visit(ExportNode node)
 {
     if (node != null)
     {
         foreach (var specifier in node)
         {
             specifier.Accept(this);
         }
     }
 }
Esempio n. 2
0
        public void Visit(ExportNode node)
        {
            if (node != null)
            {
                // let's assume we do by default
                DoesRequire = true;

                if (!node.IsDefault && node.Count == 1)
                {
                    if (node[0] is FunctionObject || node[0] is ClassNode)
                    {
                        // export function/class doesn't need one
                        DoesRequire = false;
                    }
                }
            }
        }
Esempio n. 3
0
 public void Visit(ExportNode node)
 {
     // starts with export, so we don't care
 }
 public void Visit(ExportNode node)
 {
     DebugEx.Fail("shouldn't get here");
 }
 public void Visit(ExportNode node)
 {
     // invalid! ignore
     IsValid = false;
 }