|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.dart.compiler.backend.js.ast.JsScope
com.google.dart.compiler.backend.js.ast.JsRootScope
public final class JsRootScope
The root scope is the parent of every scope. All identifiers in this scope are not obfuscatable. This scope is prefilled with reserved global JavaScript symbols.
Field Summary |
---|
Fields inherited from class com.google.dart.compiler.backend.js.ast.JsScope |
---|
tempIndex |
Constructor Summary | |
---|---|
JsRootScope(JsProgram program)
|
Method Summary | |
---|---|
protected JsName |
findOwnName(java.lang.String ident)
Attempts to find the name object for the specified ident, searching in this scope only. |
JsProgram |
getProgram()
|
Methods inherited from class com.google.dart.compiler.backend.js.ast.JsScope |
---|
declareFreshName, declareName, declareTemporary, doCreateName, findName, getParent, hasOwnName, innerScope, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsRootScope(JsProgram program)
Method Detail |
---|
public JsProgram getProgram()
getProgram
in class JsScope
protected JsName findOwnName(java.lang.String ident)
JsScope
findOwnName
in class JsScope
null
if the identifier has no associated name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |