ctrump_subscript_nd Struct Reference

配列添字 More...

#include <var.h>

Collaboration diagram for ctrump_subscript_nd:

Collaboration graph
[legend]

Data Fields

enum ctrump_subscript_nd_code code
union {
   struct ctrump_subscript_coef_array   array_coef
   struct ctrump_subscript_terminal   terminal
   struct
ctrump_subscript_coef_load_record   load_record
   struct
ctrump_subscript_record_member   record_member
   struct
ctrump_subscript_record_member_terminal   record_member_terminal
u

Detailed Description

配列添字

int a[10][20][30] ; a[i][j][k]; is converted to a[k + 30 * (j + (20*i))]

int *(a[10]); a[3][4]; is converted to a[3][4]

sturct xyz {int x[10],y} a[10]; a[i].x[10]; is converted to a[i*sizeof(struct xyz)][member_name("x")][10]

sturct xyz {int x[10],y} *a[10]; a[i]->x[10]; is converted to a[i][member_name("x")][10]

sturct xyz {int x[10],y} *a; a->x[10]; is converted to a[0][member_name("x")][10]

Definition at line 136 of file var.h.


Field Documentation

Definition at line 140 of file var.h.

Referenced by append_nd_subscript(), and expr_subscripts_to_loop_subscript().

Definition at line 141 of file var.h.

Referenced by append_nd_subscript(), and expr_subscripts_to_loop_subscript().

Definition at line 142 of file var.h.

Referenced by append_nd_subscript(), and expr_subscripts_to_loop_subscript().

Definition at line 143 of file var.h.

Referenced by append_record_member_ref(), and expr_subscripts_to_loop_subscript().

Definition at line 144 of file var.h.

Referenced by append_record_member_ref(), and expr_subscripts_to_loop_subscript().

union { ... } ctrump_subscript_nd::u


The documentation for this struct was generated from the following file:

Generated on Tue Mar 31 20:19:27 2009 for ctrump by  doxygen 1.5.6