prepare resolvedFile's syntaxTree