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) void
apply
(NamingStrategy naming) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
appendClass
in interfaceSourceWriterSink
-
appendField
- Specified by:
appendField
in interfaceSourceWriterSink
-
appendStaticField
- Specified by:
appendStaticField
in interfaceSourceWriterSink
-
appendMethod
- Specified by:
appendMethod
in interfaceSourceWriterSink
-
appendMethodBody
- Specified by:
appendMethodBody
in interfaceSourceWriterSink
-
appendFunction
- Specified by:
appendFunction
in interfaceSourceWriterSink
-
appendGlobal
- Specified by:
appendGlobal
in interfaceSourceWriterSink
-
appendInit
- Specified by:
appendInit
in interfaceSourceWriterSink
-
appendClassInit
- Specified by:
appendClassInit
in interfaceSourceWriterSink
-
apply
-