Пример #1
0
 public ResConceptClassBuilderRef(
     SourceRange range,
     ResConceptClassDeclBuilder conceptClassDeclBuilder)
 {
     _range = range;
     _conceptClassDeclBuilder = conceptClassDeclBuilder;
 }
Пример #2
0
        public static IResConceptClassDecl Build(
            ILazyFactory lazyFactory,
            ILazy <IResMemberLineDecl> line,
            SourceRange range,
            Identifier name,
            Action <ResConceptClassDeclBuilder> action)
        {
            var builder = new ResConceptClassDeclBuilder(
                lazyFactory,
                line,
                range,
                name);

            builder.AddAction(() => action(builder));
            builder.DoneBuilding();
            return(builder.Value);
        }