예제 #1
0
        /// <summary>
        /// When EngineBlockManager() stumbles with a "namespace" block
        /// </summary>
        /// <param name="line"></param>
        private void NamespaceBlock(string line)
        {
            string[] intermediateArray;
            intermediateArray    = line.Split(' ');
            currentFileNamespace = new FileNamespaces(intermediateArray[1]);

            secondaryIgnition("}");

            result.AddNamespace(currentFileNamespace);
            currentFileNamespace = null;
        }
예제 #2
0
 public void AddNamespace(FileNamespaces namespaceName)
 {
     fileNamespaces.Add(namespaceName);
 }