public class JsObfuscateNamer extends JsNamer implements FreshNameGenerator
blacklistedIdents, blacklistedSuffixes, program, referenced
Constructor and Description |
---|
JsObfuscateNamer(JsProgram program,
PropertyOracle[] propertyOracles) |
Modifier and Type | Method and Description |
---|---|
static FreshNameGenerator |
exec(JsProgram program) |
static FreshNameGenerator |
exec(JsProgram program,
PropertyOracle[] propertyOracles) |
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) |
execImpl, isAvailableIdent
public JsObfuscateNamer(JsProgram program, PropertyOracle[] propertyOracles)
public static FreshNameGenerator exec(JsProgram program)
public static FreshNameGenerator exec(JsProgram program, PropertyOracle[] propertyOracles)
public String getFreshName()
getFreshName
in interface FreshNameGenerator
Copyright © 2018. All rights reserved.