private FAMIX.Class CreateNewClass(INamedTypeSymbol type) { FAMIX.Class entity; if (type.DeclaringSyntaxReferences.Length == 0) { return((FAMIX.Class)EnsureBinaryType(type)); } string typeKind = helper.ResolveFAMIXTypeName(type).FullName; entity = this.CreateNewEntity <FAMIX.Class>(typeKind); entity.name = helper.FullTypeName(type); entity.isAbstract = type.IsAbstract; entity.isFinal = type.IsSealed; entity.accessibility = helper.AccessibilityName(type.DeclaredAccessibility); return(entity); }
public void AddChildScope(FAMIX.ScopingEntity one) { childScopes.Add(one); }
public ScopingEntity CreateScopingEntity(CompilationUnitSyntax node) { entity = this.CreateNewEntity <FAMIX.ScopingEntity>(typeof(FAMIX.ScopingEntity).FullName); return(entity); }