aa
com.cliffc.aa.Exec Class Referenceabstract

an implementation of language AA More...

Collaboration diagram for com.cliffc.aa.Exec:
[legend]

Static Public Member Functions

static String dump ()
 
static TypeEnv go (Env top, String src, String str)
 

Static Package Functions

static TypeEnv open (Env top, String src, String str)
 

Static Private Attributes

static Parse P
 

Detailed Description

an implementation of language AA

Definition at line 6 of file Exec.java.

Member Function Documentation

◆ dump()

static String com.cliffc.aa.Exec.dump ( )
static

Definition at line 16 of file Exec.java.

16 { return Env.START.dumprpo(false,false); } // Debugging hook

References com.cliffc.aa.Env.START.

◆ go()

static TypeEnv com.cliffc.aa.Exec.go ( Env  top,
String  src,
String  str 
)
static

Definition at line 8 of file Exec.java.

8  { // Execute string
9  try( TypeEnv te = open(top,src,str) ) { return te; }
10  }

References com.cliffc.aa.Exec.open().

Referenced by com.cliffc.aa.REPL.go_one(), com.cliffc.aa.AA.main(), com.cliffc.aa.TestParse.testary(), com.cliffc.aa.TestParse.testerr(), com.cliffc.aa.TestParse.testParse06(), and com.cliffc.aa.TestParse.testParse07().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ open()

static TypeEnv com.cliffc.aa.Exec.open ( Env  top,
String  src,
String  str 
)
staticpackage

Definition at line 12 of file Exec.java.

12  { // Execute string
13  return (P=new Parse(src,top,str)).go();
14  }

References com.cliffc.aa.Exec.P.

Referenced by com.cliffc.aa.Exec.go(), com.cliffc.aa.TestParse.run(), and com.cliffc.aa.TestParse.test_prim().

Here is the caller graph for this function:

Member Data Documentation

◆ P

Parse com.cliffc.aa.Exec.P
staticprivate

Definition at line 7 of file Exec.java.

Referenced by com.cliffc.aa.Exec.open().


The documentation for this class was generated from the following file:
com.cliffc.aa.Exec.P
static Parse P
Definition: Exec.java:7
com.cliffc.aa.Exec.open
static TypeEnv open(Env top, String src, String str)
Definition: Exec.java:12