
public class JsObfuscateNamer extends JsNamer implements FreshNameGenerator
JsNamer.IllegalNameExceptionprogram, referenced, reserved| Constructor and Description |
|---|
JsObfuscateNamer(JsProgram program,
ConfigProps config) |
| Modifier and Type | Method and Description |
|---|---|
static FreshNameGenerator |
exec(JsProgram program) |
static FreshNameGenerator |
exec(JsProgram program,
ConfigProps config) |
String |
getFreshName()
Returns a valid unused obfuscated top scope name by keeping track of the last (highest)
name produced.
|
protected void |
reset() |
protected void |
visit(JsScope scope) |
public JsObfuscateNamer(JsProgram program, ConfigProps config)
public static FreshNameGenerator exec(JsProgram program) throws JsNamer.IllegalNameException
JsNamer.IllegalNameExceptionpublic static FreshNameGenerator exec(JsProgram program, ConfigProps config) throws JsNamer.IllegalNameException
JsNamer.IllegalNameExceptionpublic String getFreshName()
getFreshName in interface FreshNameGeneratorCopyright © 2018. All rights reserved.