Go to the documentation of this file. 1 package com.cliffc.aa.node;
18 this(idx,name,
fun,defalt.
_t,defalt,badgc);
27 @Override
public String
xstr() {
return "Parm:"+
_name; }
29 @Override
public boolean equals(Object o) {
30 if(
this==o )
return true;
31 if( !super.equals(o) )
return false;
32 if( !(o instanceof
ParmNode) )
return false;
43 if(
fun.
in(0)!=
null &&
in(1) !=
this)
56 return actual.
isa(formal);
65 if( !(in0 instanceof
FunNode) )
return ctl.
oob();
75 for(
int i=1; i<
_defs._len; i++ ) {
82 if(
_idx <= 0 )
return t;
97 if( parm instanceof
ParmNode && parm !=
this )
112 if( !(
in(0) instanceof
FunNode) )
return null;
116 if(
_idx <= MEM_IDX )
return null;
119 for(
int i=1; i<
_defs._len; i++ ) {
ParmNode(int idx, String name, Node fun, ConNode defalt, Parse badgc)
boolean has_unknown_callers()
an implementation of language AA
static ErrMsg typerr(Parse loc, Type actual, Type t0mem, Type expected)
boolean valid_args(FunNode fun, int i, Node mem)
Type value(GVNGCM.Mode opt_mode)
ParmNode(int idx, String name, Node fun, Type tdef, Node defalt, Parse badgc)
an implementation of language AA
void add_flow_use_extra(Node chg)
static final byte OP_PARM
public< N extends Node > N add_flow(N n)
an implementation of language AA