public abstract class CompilerFilePass extends Object
SoyFileNode.
Generally this should be used in preference to CompilerFileSetPass since ASTs operated
on by these nodes can be cached individually leading to better compile times.
TODO(lukes): it would be nice to somehow use the type system to flag a pass as 'readonly' or not. Making the ASTs immutable probably isn't worth it, but we could consider adding a 'freeze/unfreeze' API.
| Constructor and Description |
|---|
CompilerFilePass() |
public abstract void run(SoyFileNode file, IdGenerator nodeIdGen)
public String name()