aa
|
Public Member Functions | |
boolean | above_center () |
TypeObj | crush () |
boolean | cycle_equals (Type o) |
boolean | equals (Object o) |
String | getstr () |
boolean | is_con () |
byte | isBitShape (Type t) |
boolean | may_be_con () |
boolean | may_nil () |
Type | meet_nil (Type t) |
boolean | must_nil () |
SB | str (SB sb, VBitSet dups, TypeMem mem, boolean debug) |
TypeObj | update (Access fin, String fld, Type val) |
TypeObj | update (TypeInt idx, Type val) |
void | walk (Predicate< Type > p) |
TypeStr | widen () |
Static Public Member Functions | |
static TypeStr | con (String con) |
static void | init () |
static TypeStr | make (boolean any, String con) |
static TypeStr | make (String name, boolean any, String con) |
Static Public Attributes | |
static final TypeStr | ABC = make(false,"abc") |
static final TypeObj | ISUSED |
static final TypeObj | OBJ |
static final TypeStr | STR = make(false,null) |
static final TypeObj | UNUSED |
static final TypeObj | XOBJ |
static final TypeStr | XSTR = STR.dual() |
Protected Member Functions | |
O | init (byte type, String name, boolean any, boolean use) |
TypeStr | xdual () |
Type | xmeet (Type t) |
Package Functions | |
int | compute_hash () |
TypeObj | flatten_fields () |
boolean | is_display () |
TypeStr | rdual () |
TypeObj | remove_other_flds (String fld, Type live) |
Static Package Functions | |
[static initializer] | |
static void | init1 (HashMap< String, Type > types) |
Package Attributes | |
boolean | _any |
boolean | _use |
Static Package Attributes | |
static final TypeStr[] | TYPES = new TypeStr[]{STR,ABC,DEF} |
Private Member Functions | |
TypeStr | init (String name, boolean any, String con) |
Private Attributes | |
String | _con |
Static Private Attributes | |
static final TypeStr | DEF = con("def") |
Definition at line 14 of file TypeStr.java.
|
staticpackage |
|
inherited |
Definition at line 77 of file TypeObj.java.
|
package |
Definition at line 21 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr._con.
Referenced by com.cliffc.aa.type.TypeStr.rdual().
|
static |
Definition at line 42 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr.make().
Referenced by com.cliffc.aa.HM.HM9.T2._as_flow(), com.cliffc.aa.HM.HM.T2._as_flow(), com.cliffc.aa.HM.HM9.Str.apply(), com.cliffc.aa.HM.HM.Str.apply(), com.cliffc.aa.node.NewStrNode.ConStr.ConStr(), com.cliffc.aa.type.TypeStr.init(), com.cliffc.aa.type.TypeStr.make(), com.cliffc.aa.tvar.TV2.make_err(), com.cliffc.aa.HM.HM8.T2.make_err(), com.cliffc.aa.HM.HM6.string(), com.cliffc.aa.HM.HM8.string(), com.cliffc.aa.HM.HM7.string(), com.cliffc.aa.HM.HM9.string(), com.cliffc.aa.HM.HM.string(), com.cliffc.aa.type.TestApprox.testApprox3(), com.cliffc.aa.TestParse.testParse(), com.cliffc.aa.TestParse.testParse00(), com.cliffc.aa.TestParse.testParse06(), and com.cliffc.aa.type.TypeStr.xmeet().
TypeObj com.cliffc.aa.type.TypeStr.crush | ( | ) |
Definition at line 97 of file TypeStr.java.
boolean com.cliffc.aa.type.TypeStr.cycle_equals | ( | Type | o | ) |
Definition at line 27 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr.equals().
boolean com.cliffc.aa.type.TypeStr.equals | ( | Object | o | ) |
Definition at line 22 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr._con, and com.cliffc.aa.util.Util.eq().
Referenced by com.cliffc.aa.type.TypeStr.cycle_equals().
|
packageinherited |
Definition at line 74 of file TypeObj.java.
String com.cliffc.aa.type.TypeStr.getstr | ( | ) |
Definition at line 52 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr._con.
Referenced by com.cliffc.aa.node.NewStrNode.AddStrStr.value().
|
static |
Definition at line 43 of file TypeStr.java.
|
protectedinherited |
Definition at line 19 of file TypeObj.java.
|
private |
Definition at line 16 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr._con, com.cliffc.aa.type.TypeStr.con(), and com.cliffc.aa.type.TypeStr.init().
Referenced by com.cliffc.aa.type.TypeStr.init(), com.cliffc.aa.type.TypeStr.make(), and com.cliffc.aa.type.TypeStr.xdual().
|
staticpackage |
Definition at line 50 of file TypeStr.java.
References com.cliffc.aa.type.TypeMemPtr.STRPTR.
Referenced by com.cliffc.aa.type.Type< TypeFlt >.init0().
boolean com.cliffc.aa.type.TypeStr.is_con | ( | ) |
Definition at line 94 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr._con.
Referenced by com.cliffc.aa.node.NewStrNode.AddStrStr.value().
|
packageinherited |
Definition at line 50 of file TypeObj.java.
byte com.cliffc.aa.type.TypeStr.isBitShape | ( | Type | t | ) |
Definition at line 105 of file TypeStr.java.
References com.cliffc.aa.type.Type< T extends Type< T >._type, and com.cliffc.aa.type.Type< T extends Type< T >.TSTR.
|
static |
Definition at line 41 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr.con(), and com.cliffc.aa.type.TypeStr.make().
Referenced by com.cliffc.aa.type.TypeStr.make().
|
static |
Definition at line 36 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr.con(), and com.cliffc.aa.type.TypeStr.init().
Referenced by com.cliffc.aa.type.TypeStr.con(), com.cliffc.aa.node.NewStrNode.AddStrStr.value(), com.cliffc.aa.node.NewStrNode.ConvertI64Str.valueobj(), com.cliffc.aa.node.NewStrNode.ConvertF64Str.valueobj(), and com.cliffc.aa.type.TypeStr.xmeet().
boolean com.cliffc.aa.type.TypeStr.may_be_con | ( | ) |
|
inherited |
Definition at line 81 of file TypeObj.java.
Definition at line 95 of file TypeStr.java.
|
inherited |
Definition at line 80 of file TypeObj.java.
|
package |
Definition at line 55 of file TypeStr.java.
References com.cliffc.aa.type.TypeStr.compute_hash(), and com.cliffc.aa.type.TypeStr.xdual().
|
packageinherited |
Definition at line 75 of file TypeObj.java.
Definition at line 28 of file TypeStr.java.
References com.cliffc.aa.type.TypeObj< TypeStr >._any, com.cliffc.aa.type.TypeStr._con, and com.cliffc.aa.util.SB.p().
Definition at line 91 of file TypeStr.java.
|
inherited |
Definition at line 69 of file TypeObj.java.
void com.cliffc.aa.type.TypeStr.walk | ( | Predicate< Type > | p | ) |
Definition at line 110 of file TypeStr.java.
TypeStr com.cliffc.aa.type.TypeStr.widen | ( | ) |
|
protected |
Definition at line 54 of file TypeStr.java.
References com.cliffc.aa.type.TypeObj< TypeStr >._any, com.cliffc.aa.type.TypeStr._con, and com.cliffc.aa.type.TypeStr.init().
Referenced by com.cliffc.aa.type.TypeStr.rdual().
Definition at line 62 of file TypeStr.java.
References com.cliffc.aa.type.TypeObj< TypeStr >._any, com.cliffc.aa.type.TypeObj< O extends TypeObj< O >._any, com.cliffc.aa.type.TypeStr._con, com.cliffc.aa.type.Type< T extends Type< T >._type, com.cliffc.aa.type.TypeStr.con(), com.cliffc.aa.util.Util.eq(), com.cliffc.aa.type.TypeStr.make(), com.cliffc.aa.type.TypeObj< TypeStr >.OBJ, and com.cliffc.aa.type.Type< T extends Type< T >.xmeet().
|
packageinherited |
Definition at line 16 of file TypeObj.java.
|
private |
Definition at line 15 of file TypeStr.java.
Referenced by com.cliffc.aa.type.TypeStr.compute_hash(), com.cliffc.aa.type.TypeStr.equals(), com.cliffc.aa.type.TypeStr.getstr(), com.cliffc.aa.type.TypeStr.init(), com.cliffc.aa.type.TypeStr.is_con(), com.cliffc.aa.type.TypeStr.may_be_con(), com.cliffc.aa.type.TypeStr.str(), com.cliffc.aa.type.TypeStr.xdual(), and com.cliffc.aa.type.TypeStr.xmeet().
|
packageinherited |
Definition at line 17 of file TypeObj.java.
Definition at line 47 of file TypeStr.java.
Referenced by com.cliffc.aa.HM.TestHM4.test03(), com.cliffc.aa.HM.TestHM5.test03(), com.cliffc.aa.HM.TestHM2.test04(), com.cliffc.aa.HM.TestHM3.test04(), com.cliffc.aa.HM.TestHM2.test05(), com.cliffc.aa.HM.TestHM4.test05(), com.cliffc.aa.HM.TestHM5.test05(), com.cliffc.aa.HM.TestHM3.test05(), com.cliffc.aa.HM.TestHM3.test05a(), com.cliffc.aa.HM.TestHM.test06(), com.cliffc.aa.HM.TestHM9.test06(), com.cliffc.aa.HM.TestHM4.test19(), com.cliffc.aa.HM.TestHM5.test19(), com.cliffc.aa.HM.TestHM1.test3(), com.cliffc.aa.HM.TestHM1.test5(), com.cliffc.aa.type.TestType.testCrush(), com.cliffc.aa.node.TestNode.testMonotonic(), com.cliffc.aa.type.TestType.testOOPsNulls(), com.cliffc.aa.TestParse.testParse00(), com.cliffc.aa.TestParse.testParse01(), com.cliffc.aa.TestParse.testParse04(), com.cliffc.aa.TestParse.testParse05(), and com.cliffc.aa.node.TestNodeSmall.tmem().
Definition at line 48 of file TypeStr.java.
|
staticinherited |
Definition at line 45 of file TypeObj.java.
|
staticinherited |
Definition at line 44 of file TypeObj.java.
Definition at line 45 of file TypeStr.java.
Referenced by com.cliffc.aa.node.NewStrNode.AddStrStr.AddStrStr(), com.cliffc.aa.node.NewStrNode.ConvertF64Str.ConvertF64Str(), com.cliffc.aa.node.NewStrNode.ConvertI64Str.ConvertI64Str(), com.cliffc.aa.type.TestType.testCrush(), com.cliffc.aa.node.TestNodeSmall.testMemoryArgs(), com.cliffc.aa.type.TestType.testOOPsNulls(), com.cliffc.aa.node.TestNodeSmall.tmem(), com.cliffc.aa.node.NewStrNode.AddStrStr.value(), com.cliffc.aa.node.NewStrNode.ConvertI64Str.valueobj(), com.cliffc.aa.node.NewStrNode.ConvertF64Str.valueobj(), and com.cliffc.aa.type.TypeStr.widen().
Definition at line 49 of file TypeStr.java.
|
staticinherited |
Definition at line 46 of file TypeObj.java.
|
staticinherited |
Definition at line 47 of file TypeObj.java.
|
static |
Definition at line 46 of file TypeStr.java.
Referenced by com.cliffc.aa.node.NewStrNode.dead_type().