Example #1
0
 public IPopulateBoxes <WeakMemberReference> Run(IResolvableScope scope, IFinalizeScopeContext context)
 {
     return(new MemberDefinitionResolveReferance(
                memberName,
                isReadonly,
                type.Run(scope, context),
                memberDefinitionBox));
 }
Example #2
0
            public IPopulateBoxes <WeakModuleDefinition> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var finalScope = scope.FinalizeScope(parent);


                return(new ModuleDefinitionResolveReferance(
                           finalScope,
                           elements.Select(x => x.Run(finalScope, context)).ToArray(),
                           nameKey));
            }
Example #3
0
 public IPopulateBoxes <WeakConstantString> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new ConstantStringResolveReferance(str));
 }
Example #4
0
            public IPopulateBoxes <WeakBlockDefinition> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var scope = this.finalizableScope.FinalizeScope(parent);

                return(new ResolveReferanceBlockDefinition(scope, finalizeScope.Select(x => x.Run(scope, context)).ToArray()));
            }
Example #5
0
 public IPopulateBoxes <WeakConstantBool> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new ConstantBoolResolveReferance(dub));
 }
Example #6
0
 public IPopulateBoxes <WeakEmptyInstance> Run(IResolvableScope scope, IFinalizeScopeContext context)
 {
     return(new EmptyInstanceResolveReferance());
 }
Example #7
0
 public IPopulateBoxes <WeakAssignOperation> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new WeakAssignOperationResolveReferance(left.Run(parent, context), right.Run(parent, context), box));
 }
Example #8
0
            public IPopulateBoxes <IWeakTypeReference> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var finalScope = finalizableScope.FinalizeScope(parent);

                return(new TypeDefinitionResolveReference(finalScope, definitionBox, typeReferance, key));
            }
Example #9
0
 public IPopulateBoxes <TFrontendCodeElement> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new TrailingResolveReferance(left.Run(parent, context), make));
 }
Example #10
0
            public IPopulateBoxes <WeakGenericTypeDefinition> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var finalScope = scope.FinalizeScope(parent);

                return(new GenericTypeDefinitionResolveReferance(nameKey, finalScope, box, genericParameters, lines.Select(x => x.Run(finalScope, context)).ToArray()));
            }
Example #11
0
 public IPopulateBoxes <WeakMemberReference> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new MemberResolveReferance(key));
 }
Example #12
0
 public IPopulateBoxes <WeakPathOperation> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new WeakPathOperationResolveReferance(left.Run(parent, context), name));
 }
            public IPopulateBoxes <WeakImplementationDefinition> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var scope = finalizableScope.FinalizeScope(parent);

                return(new ImplementationDefinitionResolveReferance(
                           scope,
                           contextDefinition.Run(scope, context),
                           parameterDefinition.Run(scope, context),
                           elements.Select(x => x.Run(scope, context)).ToArray(),
                           output.Run(scope, context)));
            }
Example #14
0
            public IPopulateBoxes <WeakMethodDefinition> Run(IResolvableScope parent, IFinalizeScopeContext context)
            {
                var scope = methodScope.FinalizeScope(parent);

                return(new MethodDefinitionResolveReferance(
                           scope,
                           parameter.Run(scope, context),
                           lines.Select(x => x.Run(scope, context)).ToArray(),
                           output.Run(scope, context),
                           isEntryPoint));
            }
Example #15
0
 public IPopulateBoxes <IWeakTypeReference> Run(IResolvableScope parent, IFinalizeScopeContext context)
 {
     return(new BinaryResolveReferance(left.Run(parent, context), right.Run(parent, context), make));
 }