Exemple #1
0
        /// <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 CompilationUnitModel(string strFileName)
 {
     FileName = strFileName;
     Root     = new Base.LanguageStructModel(Base.LanguageStructModel.StructType.CompilationUnit, null, this);
 }
Exemple #3
0
 public LanguageStructModel(StructType intIDType, LanguageStructModel objParent, CompilationUnitModel objCompilationUnit = null)
 {
     IDType          = intIDType;
     Parent          = objParent;
     CompilationUnit = objCompilationUnit;
 }