Paragraph 3 of article 50 of the Lisbon Treaty states the following (emphasis is mine):
The Treaties shall cease to apply to the State in question from the date of entry into force of the withdrawal agreement or, failing that, two years after the notification referred to in paragraph 2, unless the European Council, in agreement with the Member State concerned, unanimously decides to extend this period.
My question is about the part in bold, what exactly does the Treaties refer to? The Lisbon Treaty website lists a few others, namely the Nice, Amsterdam, Maastricht treaties and the Single European Act. Does the paragraph above refer to those four, does it refer to all the European Union laws the leaving state is part of or does it refer to something else?