public static Result createResultForStage1 ( Result result ) { VariableMap emptyVariableMap = new VariableMap ( ImmutableMap . of ( ) ) ; return new Result ( result . errors , result . warnings , emptyVariableMap , emptyVariableMap , emptyVariableMap , null , null , "" , null , null , null ) ; }
Returns an almost empty result that is used for multistage compilation .