예제 #1
0
 public static CatalogueLinkNode CatalogueLink(CatalogueNode catalogue, string id = null)
 {
     return(CatalogueLink(
                id: id ?? NewId(),
                name: catalogue.Name,
                targetId: catalogue.Id,
                type: CatalogueLinkKind.Catalogue,
                importRootEntries: true));
 }
예제 #2
0
 public override IDatafileInfo <SourceNode> VisitCatalogue(CatalogueNode node) => Create(node);
예제 #3
0
파일: Binder.cs 프로젝트: BSData/phalanx
 internal ICatalogueSymbol BindGamesystemSymbol(CatalogueNode node, DiagnosticBag diagnostics) =>
 BindSimple <ICatalogueSymbol, ErrorSymbols.ErrorGamesystemSymbol>(
     node, diagnostics, node.GamesystemId, LookupOptions.CatalogueOnly);
예제 #4
0
        public override Binder VisitCatalogue(CatalogueNode node)
        {
            var next = Compilation.GlobalNamespaceBinder;

            return(new CatalogueBaseBinder(next, GetCatalogueSymbol(node)));
        }
 public static CatalogueCore.FastSerializationProxy GetSerializationProxy(this CatalogueNode node)
 {
     return(node.Core.ToSerializationProxy());
 }
예제 #6
0
 public static DataIndexEntryNode DataIndexEntry(string filePath, CatalogueNode node)
 {
     return(DataIndexEntry(filePath, node, DataIndexEntryKind.Catalogue));
 }