Class NameFrequencyEstimator
java.lang.Object
org.teavm.backend.javascript.rendering.NameFrequencyEstimator
- All Implemented Interfaces:
SourceWriterSink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendClass(String cls) appendClassInit(String className) appendField(FieldReference field) appendFunction(String name) appendGlobal(String name) appendInit(MethodReference method) appendMethod(MethodDescriptor method) appendMethodBody(MethodReference method) appendStaticField(FieldReference field) voidapply(NamingStrategy naming) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.backend.javascript.codegen.SourceWriterSink
append, emitClass, emitLocation, emitMethod, emitStatementStart, emitVariables, enterLocation, exitLocation, indent, markClassEnd, markClassStart, markSectionEnd, markSectionStart, newLine, outdent, sameLineWs, softNewLine, tokenBoundary, ws
-
Constructor Details
-
NameFrequencyEstimator
public NameFrequencyEstimator()
-
-
Method Details
-
appendClass
- Specified by:
appendClassin interfaceSourceWriterSink
-
appendField
- Specified by:
appendFieldin interfaceSourceWriterSink
-
appendStaticField
- Specified by:
appendStaticFieldin interfaceSourceWriterSink
-
appendMethod
- Specified by:
appendMethodin interfaceSourceWriterSink
-
appendMethodBody
- Specified by:
appendMethodBodyin interfaceSourceWriterSink
-
appendFunction
- Specified by:
appendFunctionin interfaceSourceWriterSink
-
appendGlobal
- Specified by:
appendGlobalin interfaceSourceWriterSink
-
appendInit
- Specified by:
appendInitin interfaceSourceWriterSink
-
appendClassInit
- Specified by:
appendClassInitin interfaceSourceWriterSink
-
apply
-