public final class CachingTranspiler extends Object implements Transpiler
NULL
Constructor and Description |
---|
CachingTranspiler(Transpiler delegate,
com.google.common.cache.CacheBuilder<Object,? super TranspileResult> builder) |
Modifier and Type | Method and Description |
---|---|
String |
runtime()
Returns any necessary runtime code as a string.
|
TranspileResult |
transpile(Path path,
String code)
Transforms the given chunk of code.
|
public CachingTranspiler(Transpiler delegate, com.google.common.cache.CacheBuilder<Object,? super TranspileResult> builder)
public TranspileResult transpile(Path path, String code)
Transpiler
transpile
in interface Transpiler
public String runtime()
Transpiler
runtime
in interface Transpiler
Copyright © 2009-2017 Google. All Rights Reserved.