#NEWLINE# def block( self ) : #NEWLINE# #INDENT# captures = regexec ( self . RE_BLOCK , self . input ) #NEWLINE# if captures : #NEWLINE# #INDENT# self . consume ( len ( captures [ 0 ] ) ) #NEWLINE# mode = ( captures [ 3 ] or 'replace' ) #NEWLINE# name = ( captures [ 4 ] or '' ) #NEWLINE# tok = self . tok ( 'block' , name ) #NEWLINE# tok . mode = mode #NEWLINE# return tok