Go to the documentation of this file. 1 package com.cliffc.aa.type;
8 import java.util.function.Predicate;
40 @Override
public boolean equals( Object o ) {
41 if(
this==o )
return true;
49 if(
this==o )
return true;
60 if( debug )
_disp.
str(sb,dups,mem,debug).
p(
' ');
161 if( nil==
NIL )
return NIL;
180 return (
byte)(t instanceof
TypeFunPtr ? 0 : 99);
182 @SuppressWarnings(
"unchecked")
183 @Override
public void walk( Predicate<Type> p ) {
if( p.test(
this) ) {
_disp.
walk(p); } }
static BitsFun make_new_fidx(int parent_fidx)
static final Type NO_DISP
static final byte TMEMPTR
static final BitsFun EMPTY
static final TypeMemPtr DISPLAY_PTR
static BitsFun make0(int bit)
RuntimeException typerr(Type t)
boolean cycle_equals(Type o)
Memory type; the state of all of memory; memory edges order memory ops.
void walk(Predicate< Type > p)
static final TypeFunPtr GENERIC_FUNPTR
an implementation of language AA
static SB names(BitsFun fidxs, SB sb, boolean debug)
static final BitsFun FULL
static TypeFunPtr make_new_fidx(int parent, int nargs, Type disp)
static final TypeFunPtr[] TYPES
static RuntimeException unimpl()
static boolean test(long[] bits, int i)
SB str(SB sb, VBitSet dups, TypeMem mem, boolean debug)
static final byte TFUNPTR
boolean cycle_equals(Type t)
static final TypeMemPtr DISP_SIMPLE
Type make_from(Type head, TypeMem map, VBitSet visit)
static final byte TSTRUCT
final Type cross_nil(Type t)
static FunNode find_fidx(int fidx)
SB str(SB sb, VBitSet dups, TypeMem mem, boolean debug)
static TypeFunPtr make(BitsFun fidxs, int nargs, Type disp)
TypeFunPtr make_no_disp()
static final byte TSCALAR
TypeFunPtr _sharpen_clone(TypeMemPtr disp)
Tight/tiny StringBuilder wrapper.
an implementation of language AA
TypeFunPtr init(BitsFun fidxs, int nargs, Type disp)
TypeFunPtr make_from(BitsFun fidxs)
static TypeFunPtr make(int fidx, int nargs, Type disp)
void walk(Predicate< Type > p)
Type ax_meet_nil(Type nil)
String names(boolean debug)
static final Pool[] POOLS
static final TypeFunPtr EMPTY
static final byte TFUNSIG
TypeFunPtr make_from(TypeMemPtr disp)