com.google.gwt.dev.js.ast .JsProgram JsProgram final public class JsProgram extends JsNode (Code) A JavaScript program.
Constructor Summary public JsProgram () Constructs a JavaScript program object.
JsProgram public JsProgram()(Code) Constructs a JavaScript program object.
getGlobalBlock public JsBlock getGlobalBlock()(Code) Gets the one and only global block.
getRootScope public JsRootScope getRootScope()(Code) Gets the quasi-mythical root scope. This is not the same as the top scope;
all unresolvable identifiers wind up here, because they are considered
external to the program.
getScope public JsScope getScope()(Code) Gets the top level scope. This is the scope of all the statements in the
main program.