@ Override public void process ( Node externsRoot , Node jsRoot ) { Node externsAndJs = jsRoot . getParent ( ) ; checkState ( externsAndJs != null ) ; checkState ( externsRoot == null || externsAndJs . hasChild ( externsRoot ) ) ; inferAllScopes ( externsAndJs ) ; }
Main entry point for type inference when running over the whole tree .