/// <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; }
public LanguageStructModel(StructType typeId, LanguageStructModel parent, CompilationUnitModel compilationUnit = null) { Type = typeId; Parent = parent; CompilationUnit = compilationUnit; }
public CompilationUnitModel(string strFileName) { FileName = strFileName; Root = new Base.LanguageStructModel(Base.LanguageStructModel.StructType.CompilationUnit, null, this); }