public final class SoyToPySrcCompiler extends Object
Note: The Python output and runtime libraries are targeted at Python v2.7. Support for Python v3.1+ is also intended through the use of __future__ and version agnostic syntax, HOWEVER at the moment testing support is only guaranteed for v2.7.
| Modifier and Type | Field and Description |
|---|---|
protected String |
inputPrefix |
| Constructor and Description |
|---|
SoyToPySrcCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Compiles a set of Soy files into corresponding Python source files.
|
protected String inputPrefix
public static void main(String[] args) throws IOException
args - Should contain command-line flags and the list of paths to the Soy files.IOException - If there are problems reading the input files or writing the output file.