编译原理的一个问题,求好心人帮忙,谢谢
privatestaticfinalStringmeta_ops[];static{meta_ops=newString[38];meta_ops[OP_ADD]="__...
private static final String meta_ops[];
static {
meta_ops = new String[38];
meta_ops[OP_ADD] = "__add";
meta_ops[OP_SUB] = "__sub";
meta_ops[OP_MUL] = "__mul";
meta_ops[OP_DIV] = "__div";
meta_ops[OP_MOD] = "__mod";
meta_ops[OP_POW] = "__pow";
meta_ops[OP_EQ] = "__eq";
meta_ops[OP_LT] = "__lt";
meta_ops[OP_LE] = "__le";
}
这里定义了一些操作 加减乘除模,那么pow是什么操作呢???还有下面的lt和le 展开
static {
meta_ops = new String[38];
meta_ops[OP_ADD] = "__add";
meta_ops[OP_SUB] = "__sub";
meta_ops[OP_MUL] = "__mul";
meta_ops[OP_DIV] = "__div";
meta_ops[OP_MOD] = "__mod";
meta_ops[OP_POW] = "__pow";
meta_ops[OP_EQ] = "__eq";
meta_ops[OP_LT] = "__lt";
meta_ops[OP_LE] = "__le";
}
这里定义了一些操作 加减乘除模,那么pow是什么操作呢???还有下面的lt和le 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询