#NEWLINE# @ property #NEWLINE# def path_to_analysis_snapshot( self ) : #NEWLINE# #INDENT# if ( not self . enable_analysis_server ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# path = os . path . join ( self . path_to_bin_dir , 'snapshots' , 'analysis_server.dart.snapshot' ) #NEWLINE# if ( not os . path . exists ( path ) ) : #NEWLINE# #INDENT# raise ConfigError ( 'no analysis server found. Are you using a recent sdk?' ) #NEWLINE# #UNINDENT# return path