From e42c493d0c294ccb0a314c8447818c8d613195df Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 17 Jan 2008 12:56:19 +0000 Subject: removed olds docs --- .../NaturalDocs/Languages/Advanced/ScopeChange.pm | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 docs/doctool/Modules/NaturalDocs/Languages/Advanced/ScopeChange.pm (limited to 'docs/doctool/Modules/NaturalDocs/Languages/Advanced/ScopeChange.pm') diff --git a/docs/doctool/Modules/NaturalDocs/Languages/Advanced/ScopeChange.pm b/docs/doctool/Modules/NaturalDocs/Languages/Advanced/ScopeChange.pm deleted file mode 100644 index 89b45ff4..00000000 --- a/docs/doctool/Modules/NaturalDocs/Languages/Advanced/ScopeChange.pm +++ /dev/null @@ -1,70 +0,0 @@ -############################################################################### -# -# Class: NaturalDocs::Languages::Advanced::ScopeChange -# -############################################################################### -# -# A class used to store a scope change. -# -############################################################################### - -# This file is part of Natural Docs, which is Copyright (C) 2003-2005 Greg Valure -# Natural Docs is licensed under the GPL - -use strict; -use integer; - -package NaturalDocs::Languages::Advanced::ScopeChange; - -# -# Constants: Implementation -# -# The object is implemented as a blessed arrayref. The constants below are used as indexes. -# -# SCOPE - The new scope . -# LINE_NUMBER - The line number of the change. -# -use NaturalDocs::DefineMembers 'SCOPE', 'LINE_NUMBER'; -# Dependency: New() depends on the order of these constants as well as that there is no inherited members. - - -# -# Function: New -# -# Creates and returns a new object. -# -# Parameters: -# -# scope - The the scope was changed to. -# lineNumber - What line it occurred on. -# -sub New #(scope, lineNumber) - { - # Dependency: This depends on the order of the parameters matching the constants, and that there are no inherited - # members. - my $self = shift; - - my $object = [ @_ ]; - bless $object, $self; - - return $object; - }; - - -# Function: Scope -# Returns the the scope was changed to. -sub Scope - { return $_[0]->[SCOPE]; }; - -# Function: SetScope -# Replaces the the scope was changed to. -sub SetScope #(scope) - { $_[0]->[SCOPE] = $_[1]; }; - -# Function: LineNumber -# Returns the line number of the change. -sub LineNumber - { return $_[0]->[LINE_NUMBER]; }; - - -1; -- cgit 1.4.1