Пример #1
0
 public AsyncExpressionDecomposer(AsyncStateGenerator stateGenerator, Idioms idioms) : base(idioms)
 {
     this.stateGenerator = stateGenerator;
 }
Пример #2
0
 public AnonymousTypeTransformer(JsBlockStatement body, List<Tuple<INamedTypeSymbol, Action>> actions) 
 {
     this.body = body;
     this.actions = actions;
     this.idioms = new Idioms(null);
 }
Пример #3
0
 public AsyncStateGenerator(Idioms idioms, JsBlockStatement stateMachineBody, CSharpSyntaxNode node, IMethodSymbol method, Action<BaseStateGenerator, JsTransformer> nodeAcceptor = null) : 
     base(x => new AsyncExpressionDecomposer((AsyncStateGenerator)x, idioms), node, stateMachineBody, idioms, method, nodeAcceptor)
 {
 }
Пример #4
0
//        public const string current = "$current";

        public YieldStateGenerator(Func<BaseStateGenerator, JsTransformer> transformer, CSharpSyntaxNode node, JsBlockStatement stateMachineBody, Idioms idioms, IMethodSymbol method) : base(transformer, node, stateMachineBody, idioms, method)
        {
        }