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); }
public ResStructBuilderRef( ResStructDeclBuilder structDeclBuilder) { _structDeclBuilder = structDeclBuilder; }