def _create_transformations(all_tokens, seen_ts):
 for (parent, token) in all_tokens:
  if isinstance(token, TransformationToken):
   if (token.number not in seen_ts):
    raise RuntimeError(('Tabstop %i is not known but is used by a Transformation' % token.number))
   Transformation(parent, seen_ts[token.number], token)

def _create_transformations ( all_tokens , seen_ts ) : for ( parent , token ) in all_tokens : if isinstance ( token , TransformationToken ) : if ( token . number not in seen_ts ) : raise RuntimeError ( ( 'Tabstop %i is not known but is used by a Transformation' % token . number ) ) Transformation ( parent , seen_ts [ token . number ] , token )
create the objects that need to know about tabstops .