Exemplo n.º 1
0
        public static IResStructDecl Build(
            ILazyFactory lazyFactory,
            ILazy <IResMemberLineDecl> line,
            SourceRange range,
            Identifier name,
            Action <ResStructDeclBuilder> action)
        {
            var builder = new ResStructDeclBuilder(
                lazyFactory,
                line,
                range,
                name);

            builder.AddAction(() => action(builder));
            builder.DoneBuilding();
            return(builder.Value);
        }
Exemplo n.º 2
0
 public ResStructBuilderRef(
     ResStructDeclBuilder structDeclBuilder)
 {
     _structDeclBuilder = structDeclBuilder;
 }