예제 #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)
        {
        }