1 Compiler
Class Ax.ts.Compiler
Constructor Summary
Method | Description |
---|---|
JSTSCompiler() | |
JSTSCompiler(boolean debug) | Compile Typescript to Javascript |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
int | compile(String source) | |
int | compile(String source, boolean addAxDefinitions) | |
String | getCompiledCode() | |
String | getCompiledCode(String filename) | |
String | getCompiledErrors() | |
String[] | getCompiledFiles() | |
String | loadAxDefinition() | |
JSTSCompiler | setOption(String name, String value) | |
JSTSCompiler | setResourceHandler(Function<StringString> handler) | |
JSTSCompiler | setTarget(String target) |
Method Detail
JSTSCompiler
-
JSTSCompiler()
JSTSCompiler
-
JSTSCompiler(boolean debug)
- Info:
-
Compile Typescript to Javascript - Parameters:
- debug -
compile
-
int compile(String source)
- Parameters:
- source -
- Returns:
compile
-
int compile(String source, boolean addAxDefinitions)
- Parameters:
- source -
- addAxDefinitions -
- Returns:
getCompiledCode
-
String getCompiledCode()
- Returns:
getCompiledErrors
-
String getCompiledErrors()
- Returns:
getCompiledFiles
-
String[] getCompiledFiles()
- Returns:
loadAxDefinition
-
String loadAxDefinition()
- Returns:
- the Ax definitions
setOption
-
JSTSCompiler setOption(String name, String value)
- Parameters:
- name -
- value -
- Returns:
setResourceHandler
-
JSTSCompiler setResourceHandler(Function<StringString> handler)
- Parameters:
- handler -
- Returns:
setTarget
-
JSTSCompiler setTarget(String target)
- Parameters:
- target -
- Returns: