com.google.template.soy
Class SoyToJsSrcCompiler

java.lang.Object
  extended by com.google.template.soy.SoyToJsSrcCompiler

public final class SoyToJsSrcCompiler
extends Object

Executable for compiling a set of Soy files into corresponding JS source files.


Method Summary
static void main(String[] args)
          Compiles a set of Soy files into corresponding JS source files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        SoySyntaxException
Compiles a set of Soy files into corresponding JS source files.

Parameters:
args - Should contain command-line flags and the list of paths to the Soy files.
Throws:
IOException - If there are problems reading the input files or writing the output file.
SoySyntaxException - If a syntax error is detected.