aa
|
Classes | |
class | Add |
class | Apply |
class | Con |
class | Dec |
class | EQ |
class | EQ0 |
class | Factor |
class | Field |
class | Ident |
class | If |
class | IsEmpty |
class | Lambda |
class | Let |
class | Mul |
class | NotNil |
class | Pair |
class | Pair1 |
class | PrimSyn |
class | Root |
class | Str |
class | Struct |
class | Syntax |
class | T2 |
class | Triple |
class | VStack |
class | Worklist |
Public Member Functions | |
String | toString () |
Static Public Member Functions | |
static Root | hm (String sprog) |
Static Package Functions | |
[static initializer] | |
static Root | parse (String s) |
static void | reset () |
static Syntax | term () |
Static Package Attributes | |
static final boolean | DEBUG_LEAKS =false |
static final boolean | DO_GCP = true |
static final boolean | DO_HM = true |
static final HashMap< String, PrimSyn > | PRIMSYNS = new HashMap<>() |
Static Private Member Functions | |
static Syntax | fterm () |
static String | id () |
static boolean | isAlpha0 (byte c) |
static boolean | isAlpha1 (byte c) |
static boolean | isDigit (byte c) |
static boolean | isWS (byte c) |
static Syntax | number () |
static void | require (char c) |
static< T > T | require (char c, T t) |
static void | require (String s) |
static byte | skipWS () |
static Syntax | string () |
Static Private Attributes | |
static byte[] | BUF |
static final SB | ID = new SB() |
static int | X |
|
staticpackage |
|
staticprivate |
Definition at line 231 of file HM.java.
References com.cliffc.aa.HM.HM.skipWS(), com.cliffc.aa.HM.HM.term(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.parse(), and com.cliffc.aa.HM.HM.term().
|
static |
Definition at line 94 of file HM.java.
References com.cliffc.aa.HM.HM.Worklist._cnt, com.cliffc.aa.HM.HM.Syntax._flow, com.cliffc.aa.HM.HM.Syntax._hmt, com.cliffc.aa.HM.HM.Syntax._par, com.cliffc.aa.HM.HM.Syntax.add_hm_work(), com.cliffc.aa.HM.HM.Syntax.add_val_work(), com.cliffc.aa.HM.HM.T2.CNT, com.cliffc.aa.HM.HM.Syntax.debug_find(), com.cliffc.aa.HM.HM.DEBUG_LEAKS, com.cliffc.aa.HM.HM.DO_GCP, com.cliffc.aa.HM.HM.DO_HM, com.cliffc.aa.HM.HM.T2.find(), com.cliffc.aa.HM.HM.Syntax.hm(), com.cliffc.aa.type.Type< T extends Type< T >.isa(), com.cliffc.aa.HM.HM.Worklist.len(), com.cliffc.aa.HM.HM.Apply.more_work(), com.cliffc.aa.HM.HM.parse(), com.cliffc.aa.HM.HM.Worklist.pop(), com.cliffc.aa.HM.HM.Apply.prep_tree(), com.cliffc.aa.HM.HM.PRIMSYNS, com.cliffc.aa.HM.HM.Worklist.push(), com.cliffc.aa.HM.HM.T2.unify(), com.cliffc.aa.HM.HM.Syntax.val(), and com.cliffc.aa.HM.HM.PrimSyn.WORK.
Referenced by com.cliffc.aa.HM.TestHM.run(), com.cliffc.aa.HM.TestHM.test05(), com.cliffc.aa.HM.TestHM.test06(), com.cliffc.aa.HM.TestHM.test14(), com.cliffc.aa.HM.TestHM.test18(), com.cliffc.aa.HM.TestHM.test20(), com.cliffc.aa.HM.TestHM.test32(), com.cliffc.aa.HM.TestHM.test33(), com.cliffc.aa.HM.TestHM.test34(), com.cliffc.aa.HM.TestHM.test36(), com.cliffc.aa.HM.TestHM.test39(), com.cliffc.aa.HM.TestHM.test40(), com.cliffc.aa.HM.TestHM.test41(), com.cliffc.aa.HM.TestHM.test42(), com.cliffc.aa.HM.TestHM.test43(), com.cliffc.aa.HM.TestHM.test44(), com.cliffc.aa.HM.TestHM.test45(), com.cliffc.aa.HM.TestHM.test49(), com.cliffc.aa.HM.TestHM.test50(), com.cliffc.aa.HM.TestHM.test51(), com.cliffc.aa.HM.TestHM.test52(), com.cliffc.aa.HM.TestHM.test55(), com.cliffc.aa.HM.TestHM.test56(), and com.cliffc.aa.HM.TestHM.test57().
|
staticprivate |
Definition at line 240 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.util.SB.clear(), com.cliffc.aa.HM.HM.ID, com.cliffc.aa.HM.HM.isAlpha1(), com.cliffc.aa.util.SB.p(), com.cliffc.aa.util.SB.toString(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.T2.add_fld(), com.cliffc.aa.HM.HM.Field.Field(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 274 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.isAlpha1(), com.cliffc.aa.HM.HM.number(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 275 of file HM.java.
References com.cliffc.aa.HM.HM.isAlpha0().
Referenced by com.cliffc.aa.HM.HM.id().
|
staticprivate |
Definition at line 273 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.T2.is_tuple(), com.cliffc.aa.HM.HM.number(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 272 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.skipWS().
|
staticprivate |
Definition at line 248 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.type.TypeFlt.con(), com.cliffc.aa.type.TypeInt.con(), com.cliffc.aa.HM.HM.isAlpha0(), com.cliffc.aa.HM.HM.isDigit(), com.cliffc.aa.HM.HM.X, and com.cliffc.aa.type.Type< T extends Type< T >.XNIL.
Referenced by com.cliffc.aa.HM.HM.term().
|
staticpackage |
Definition at line 158 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.HM.HM.fterm(), com.cliffc.aa.HM.HM.skipWS(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.hm().
|
staticprivate |
Definition at line 276 of file HM.java.
References com.cliffc.aa.HM.HM.skipWS(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.string(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 277 of file HM.java.
References com.cliffc.aa.HM.HM.require().
Referenced by com.cliffc.aa.HM.HM.require().
|
staticprivate |
Definition at line 278 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.HM.HM.skipWS(), and com.cliffc.aa.HM.HM.X.
|
staticpackage |
Definition at line 143 of file HM.java.
References com.cliffc.aa.HM.HM.Lambda.FUNS, com.cliffc.aa.HM.HM.Pair1.PAIR1S, com.cliffc.aa.HM.HM.PRIMSYNS, com.cliffc.aa.HM.HM.PrimSyn.reset(), com.cliffc.aa.HM.HM.T2.reset(), com.cliffc.aa.type.BitsFun.reset_to_init0(), and com.cliffc.aa.type.BitsAlias.reset_to_init0().
Referenced by com.cliffc.aa.HM.TestHM.reset(), com.cliffc.aa.HM.TestHM6.reset(), and com.cliffc.aa.HM.TestHM9.reset().
|
staticprivate |
Definition at line 268 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.HM.HM.isWS(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.fterm(), com.cliffc.aa.HM.HM.parse(), com.cliffc.aa.HM.HM.require(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 263 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.type.TypeStr.con(), com.cliffc.aa.type.TypeMemPtr.make(), com.cliffc.aa.HM.HM.require(), com.cliffc.aa.type.BitsAlias.STRBITS, and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.term().
|
staticpackage |
Definition at line 166 of file HM.java.
References com.cliffc.aa.util.Ary< E >.asAry(), com.cliffc.aa.util.Ary< E >.at(), com.cliffc.aa.HM.HM.BUF, com.cliffc.aa.HM.HM.fterm(), com.cliffc.aa.HM.HM.id(), com.cliffc.aa.HM.HM.isAlpha0(), com.cliffc.aa.HM.HM.isDigit(), com.cliffc.aa.HM.HM.PrimSyn.make(), com.cliffc.aa.HM.HM.number(), com.cliffc.aa.HM.HM.PRIMSYNS, com.cliffc.aa.util.Ary< E >.push(), com.cliffc.aa.HM.HM.require(), com.cliffc.aa.util.Ary< E >.set(), com.cliffc.aa.HM.HM.skipWS(), com.cliffc.aa.HM.HM.string(), and com.cliffc.aa.HM.HM.X.
Referenced by com.cliffc.aa.HM.HM.fterm().
String com.cliffc.aa.HM.HM.toString | ( | ) |
Definition at line 157 of file HM.java.
References com.cliffc.aa.HM.HM.BUF, and com.cliffc.aa.HM.HM.X.
|
staticprivate |
Definition at line 156 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.id(), com.cliffc.aa.HM.HM.number(), com.cliffc.aa.HM.HM.parse(), com.cliffc.aa.HM.HM.require(), com.cliffc.aa.HM.HM.skipWS(), com.cliffc.aa.HM.HM.string(), com.cliffc.aa.HM.HM.term(), and com.cliffc.aa.HM.HM.toString().
|
staticpackage |
Definition at line 88 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.T2.fresh_unify(), and com.cliffc.aa.HM.HM.hm().
|
staticpackage |
Definition at line 92 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.hm(), com.cliffc.aa.HM.HM.If.hm(), com.cliffc.aa.HM.HM.Syntax.more_work_impl(), com.cliffc.aa.HM.HM.Syntax.p0(), com.cliffc.aa.HM.HM.Lambda.p1(), com.cliffc.aa.HM.TestHM.run(), com.cliffc.aa.HM.TestHM9.run(), com.cliffc.aa.HM.TestHM.test05(), com.cliffc.aa.HM.TestHM9.test05(), com.cliffc.aa.HM.TestHM.test06(), com.cliffc.aa.HM.TestHM9.test06(), com.cliffc.aa.HM.TestHM.test14(), com.cliffc.aa.HM.TestHM9.test14(), com.cliffc.aa.HM.TestHM.test18(), com.cliffc.aa.HM.TestHM9.test18(), com.cliffc.aa.HM.TestHM.test20(), com.cliffc.aa.HM.TestHM9.test20(), com.cliffc.aa.HM.TestHM9.test32(), com.cliffc.aa.HM.TestHM.test32(), com.cliffc.aa.HM.TestHM9.test33(), com.cliffc.aa.HM.TestHM.test33(), com.cliffc.aa.HM.TestHM9.test34(), com.cliffc.aa.HM.TestHM.test34(), com.cliffc.aa.HM.TestHM9.test36(), com.cliffc.aa.HM.TestHM.test36(), com.cliffc.aa.HM.TestHM.test39(), com.cliffc.aa.HM.TestHM9.test39(), com.cliffc.aa.HM.TestHM.test40(), com.cliffc.aa.HM.TestHM9.test40(), com.cliffc.aa.HM.TestHM.test41(), com.cliffc.aa.HM.TestHM9.test41(), com.cliffc.aa.HM.TestHM.test42(), com.cliffc.aa.HM.TestHM9.test42(), com.cliffc.aa.HM.TestHM.test43(), com.cliffc.aa.HM.TestHM9.test43(), com.cliffc.aa.HM.TestHM.test44(), com.cliffc.aa.HM.TestHM9.test44(), com.cliffc.aa.HM.TestHM.test45(), com.cliffc.aa.HM.TestHM9.test45(), com.cliffc.aa.HM.TestHM.test49(), com.cliffc.aa.HM.TestHM9.test49(), com.cliffc.aa.HM.TestHM.test50(), com.cliffc.aa.HM.TestHM9.test50(), com.cliffc.aa.HM.TestHM.test51(), com.cliffc.aa.HM.TestHM.test52(), com.cliffc.aa.HM.TestHM.test55(), com.cliffc.aa.HM.TestHM.test56(), and com.cliffc.aa.HM.TestHM.test57().
|
staticpackage |
Definition at line 91 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.hm(), com.cliffc.aa.HM.HM.Syntax.more_work_impl(), com.cliffc.aa.HM.HM.Syntax.p0(), com.cliffc.aa.HM.HM.Lambda.p1(), com.cliffc.aa.HM.TestHM.run(), com.cliffc.aa.HM.TestHM9.run(), com.cliffc.aa.HM.TestHM.test05(), com.cliffc.aa.HM.TestHM9.test05(), com.cliffc.aa.HM.TestHM.test06(), com.cliffc.aa.HM.TestHM9.test06(), com.cliffc.aa.HM.TestHM.test14(), com.cliffc.aa.HM.TestHM9.test14(), com.cliffc.aa.HM.TestHM.test18(), com.cliffc.aa.HM.TestHM9.test18(), com.cliffc.aa.HM.TestHM.test20(), com.cliffc.aa.HM.TestHM9.test20(), com.cliffc.aa.HM.TestHM9.test32(), com.cliffc.aa.HM.TestHM.test32(), com.cliffc.aa.HM.TestHM9.test33(), com.cliffc.aa.HM.TestHM.test33(), com.cliffc.aa.HM.TestHM9.test34(), com.cliffc.aa.HM.TestHM.test34(), com.cliffc.aa.HM.TestHM9.test36(), com.cliffc.aa.HM.TestHM.test36(), com.cliffc.aa.HM.TestHM.test39(), com.cliffc.aa.HM.TestHM9.test39(), com.cliffc.aa.HM.TestHM.test40(), com.cliffc.aa.HM.TestHM9.test40(), com.cliffc.aa.HM.TestHM.test41(), com.cliffc.aa.HM.TestHM9.test41(), com.cliffc.aa.HM.TestHM.test42(), com.cliffc.aa.HM.TestHM9.test42(), com.cliffc.aa.HM.TestHM.test43(), com.cliffc.aa.HM.TestHM9.test43(), com.cliffc.aa.HM.TestHM.test44(), com.cliffc.aa.HM.TestHM9.test44(), com.cliffc.aa.HM.TestHM.test45(), com.cliffc.aa.HM.TestHM9.test45(), com.cliffc.aa.HM.TestHM.test49(), com.cliffc.aa.HM.TestHM9.test49(), com.cliffc.aa.HM.TestHM.test50(), com.cliffc.aa.HM.TestHM9.test50(), com.cliffc.aa.HM.TestHM.test51(), com.cliffc.aa.HM.TestHM.test52(), com.cliffc.aa.HM.TestHM.test55(), com.cliffc.aa.HM.TestHM.test56(), com.cliffc.aa.HM.TestHM.test57(), and com.cliffc.aa.HM.HM.Apply.val().
Definition at line 239 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.id().
|
staticpackage |
Definition at line 86 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.hm(), com.cliffc.aa.HM.HM.reset(), and com.cliffc.aa.HM.HM.term().
|
staticprivate |
Definition at line 155 of file HM.java.
Referenced by com.cliffc.aa.HM.HM.fterm(), com.cliffc.aa.HM.HM.id(), com.cliffc.aa.HM.HM.number(), com.cliffc.aa.HM.HM.parse(), com.cliffc.aa.HM.HM.require(), com.cliffc.aa.HM.HM.skipWS(), com.cliffc.aa.HM.HM.string(), com.cliffc.aa.HM.HM.term(), and com.cliffc.aa.HM.HM.toString().