Class ClosureGenerationEnvironment
java.lang.Object
com.google.j2cl.transpiler.backend.closure.ClosureGenerationEnvironment
Contains aliases for variables and Type Descriptors.
-
Constructor Summary
ConstructorsConstructorDescriptionClosureGenerationEnvironment(Collection<com.google.j2cl.transpiler.backend.closure.Import> imports, Map<com.google.j2cl.transpiler.ast.HasName, String> uniqueNameByVariable) -
Method Summary
Modifier and TypeMethodDescriptionaliasForType(com.google.j2cl.transpiler.ast.DeclaredTypeDescriptor typeDescriptor) aliasForType(com.google.j2cl.transpiler.ast.TypeDeclaration typeDeclaration) getClosureTypeString(com.google.j2cl.transpiler.ast.TypeDescriptor typeDescriptor) getJsDocForParameter(com.google.j2cl.transpiler.ast.MethodLike methodLike, int index) getUniqueNameForVariable(com.google.j2cl.transpiler.ast.HasName variable)
-
Constructor Details
-
ClosureGenerationEnvironment
public ClosureGenerationEnvironment(Collection<com.google.j2cl.transpiler.backend.closure.Import> imports, Map<com.google.j2cl.transpiler.ast.HasName, String> uniqueNameByVariable)
-
-
Method Details
-
getUniqueNameForVariable
-
aliasForType
-
aliasForType
-
getClosureTypeString
-
getJsDocForParameter
-