Package | Description |
---|---|
com.google.gwt.dev.javac | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
static Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> |
JsniCollector.collectJsniMethods(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
String sourceMapPath,
String source,
JsScope scope,
CorrelationFactory correlator) |
static JsFunction |
JsniCollector.parseJsniFunction(org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
String unitSource,
String enclosingType,
SourceInfo baseInfo,
JsScope scope) |
Modifier and Type | Method and Description |
---|---|
protected JsScope |
JsAbstractSymbolResolver.getScope() |
Modifier and Type | Method and Description |
---|---|
static boolean |
JsStringInterner.exec(JsProgram program,
JsBlock block,
JsScope scope,
boolean alwaysIntern)
Intern String literals that occur within a JsBlock.
|
static List<JsStatement> |
JsParser.parse(SourceInfo rootSourceInfo,
JsScope scope,
Reader r) |
static void |
JsParser.parseInto(SourceInfo rootSourceInfo,
JsScope scope,
JsBlock block,
Reader r) |
protected void |
JsPrettyNamer.visit(JsScope scope) |
protected void |
JsObfuscateNamer.visit(JsScope scope) |
protected abstract void |
JsNamer.visit(JsScope scope) |
protected void |
JsVerboseNamer.visit(JsScope scope) |
Modifier and Type | Class and Description |
---|---|
class |
JsCatchScope
A special scope used only for catch blocks.
|
class |
JsNestingScope
A normal scope that has a parent and children.
|
class |
JsNormalScope
A normal scope that has a parent and children.
|
class |
JsRootScope
The root scope is the parent of every scope, it contains a list of browser built-in identifiers
that we should recognize and never obfuscate into.
|
Modifier and Type | Field and Description |
---|---|
protected JsScope |
JsFunction.scope |
Modifier and Type | Method and Description |
---|---|
JsScope |
JsName.getEnclosing() |
JsScope |
JsProgram.getObjectScope() |
JsScope |
JsRootScope.getParent() |
JsScope |
JsNestingScope.getParent()
Returns the parent scope of this scope, or
null if this is the root scope. |
abstract JsScope |
JsScope.getParent()
Returns the parent scope of this scope, or
null if this is the root scope. |
JsScope |
JsFunction.getScope() |
JsScope |
JsProgram.getScope()
Gets the top level scope.
|
JsScope |
JsCatch.getScope() |
Modifier and Type | Method and Description |
---|---|
List<JsScope> |
JsRootScope.getChildren() |
List<JsScope> |
JsNestingScope.getChildren()
Returns a list of this scope's child scopes.
|
abstract List<JsScope> |
JsScope.getChildren()
Returns a list of this scope's child scopes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsRootScope.addChild(JsScope child) |
protected void |
JsNestingScope.addChild(JsScope child) |
protected abstract void |
JsScope.addChild(JsScope child) |
void |
JsNestingScope.nestInto(JsScope newParent) |
Constructor and Description |
---|
JsCatch(SourceInfo sourceInfo,
JsScope parent,
String ident) |
JsCatchScope(JsScope parent,
String ident) |
JsFunction(SourceInfo sourceInfo,
JsScope parent)
Creates an anonymous function.
|
JsFunction(SourceInfo sourceInfo,
JsScope parent,
JsName name)
Creates a function that is not derived from Java source.
|
JsFunction(SourceInfo sourceInfo,
JsScope parent,
JsName name,
boolean fromJava)
Creates a named function, possibly derived from Java source.
|
JsName(JsScope enclosing,
String ident,
String shortIdent) |
JsNestingScope(JsScope parent,
String description)
Create a scope with parent.
|
JsNormalScope(JsScope parent,
String description)
Create a scope with parent.
|
Copyright © 2018. All rights reserved.