#NEWLINE# def insert_after( self , where , token , skip_ws = True ) : #NEWLINE# #INDENT# 'Inserts *token* after *where*.' #NEWLINE# next_token = self . token_next ( where , skip_ws = skip_ws ) #NEWLINE# if ( next_token is None ) : #NEWLINE# #INDENT# self . tokens . append ( token ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . tokens . insert ( self . token_index ( skip_ws ) , token )