final void checkRootScope ( ) { // TODO(tbreisacher): Can we tighten this to just NodeUtil.createsScope? checkArgument ( NodeUtil . createsScope ( rootNode ) || rootNode . isScript ( ) || rootNode . isRoot ( ) , rootNode ) ; }
Performs simple validity checks on when constructing a root scope .