public Result getResult ( ) { Set < SourceFile > transpiledFiles = new HashSet <> ( ) ; if ( jsRoot != null ) { for ( Node scriptNode : jsRoot . children ( ) ) { if ( scriptNode . getBooleanProp ( Node . TRANSPILED ) ) { transpiledFiles . add ( getSourceFileByName ( scriptNode . getSourceFileName ( ) ) ) ; } } } return new Result ( getErrors ( ) , getWarnings ( ) , this . variableMap , this . propertyMap , this . anonymousFunctionNameMap , this . stringMap , this . sourceMap , this . externExports , this . cssNames , this . idGeneratorMap , transpiledFiles ) ; }
Returns the result of the compilation .