/// <summary>
        ///		Obtiene el espacio de nombres al que pertenece una estructura
        /// </summary>
        public string GetNameSpaceName()
        {
            LanguageStructModel objNameSpace = GetNameSpace();

            // Obtiene el nombre del espacio de nombres
            if (objNameSpace == null)
            {
                return("");
            }
            else
            {
                return(objNameSpace.Name);
            }
        }
 public LanguageStructModel(StructType intIDType, LanguageStructModel objParent, CompilationUnitModel objCompilationUnit = null)
 {
     IDType          = intIDType;
     Parent          = objParent;
     CompilationUnit = objCompilationUnit;
 }
예제 #3
0
 public LanguageStructModel(StructType typeId, LanguageStructModel parent, CompilationUnitModel compilationUnit = null)
 {
     Type            = typeId;
     Parent          = parent;
     CompilationUnit = compilationUnit;
 }
예제 #4
0
 public CompilationUnitModel(string strFileName)
 {
     FileName = strFileName;
     Root     = new Base.LanguageStructModel(Base.LanguageStructModel.StructType.CompilationUnit, null, this);
 }