public abstract class SemanticTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
cl |
static String |
CLASSES_DIR |
static String |
SOURCES_DIR |
| Constructor and Description |
|---|
SemanticTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
org.walkmod.javalang.ast.CompilationUnit |
compile(String... sources) |
ClassLoader |
getClassLoader() |
SymbolTable |
getSymbolTable() |
TypesLoaderVisitor |
getTypeTable() |
void |
initTypes() |
void |
populateSemantics() |
protected org.walkmod.javalang.ast.CompilationUnit |
populateSemantics(org.walkmod.javalang.ast.CompilationUnit cu) |
void |
prepare() |
void |
removeRecursively(File file) |
public static String SOURCES_DIR
public static String CLASSES_DIR
protected ClassLoader cl
public void removeRecursively(File file)
public org.walkmod.javalang.ast.CompilationUnit compile(String... sources) throws Exception
Exceptionprotected org.walkmod.javalang.ast.CompilationUnit populateSemantics(org.walkmod.javalang.ast.CompilationUnit cu)
throws Exception
Exceptionpublic ClassLoader getClassLoader() throws Exception
Exceptionpublic TypesLoaderVisitor getTypeTable() throws Exception
Exceptionpublic SymbolTable getSymbolTable()
Copyright © 2018. All rights reserved.