Пример #1
0
 void _Visit(JsIndexerAccessExpression node)
 {
     Visit(node.Member);
     Control("[");
     VisitEachJoin(node.Arguments, Comma);
     Control("]");
 }
 protected virtual void _visit( JsIndexerAccessExpression node )
 {
     throw new NotImplementedException( "JsIndexerAccessExpression" );
 }
        protected override void _visit(JsIndexerAccessExpression node)
        {
            if (node != null)
            {
                visit(node.Member);

                foreach ( JsExpression arg in node.Arguments )
                {
                    visit( arg );
                }
            }
        }
        JsIndexerAccessExpression ProcessIndexer()
        {
            if (Res.Member.SymbolKind == SymbolKind.Indexer && Sk.UseNativeIndexer((IProperty)Res.Member))
            {
                var node3 = new JsIndexerAccessExpression
                {
                    Member = Node2.Member,
                    Arguments = Node2.Arguments,
                };
                return node3;
            }
            return null;

        }