crashanalysercmd/PerfToolsSharedLibraries/Engine/SymBuildParsingLib/Parser/PreProcessor/Nodes/SymNodePreProcessorInclude.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     1 /*
       
     2 * Copyright (c) 2004-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 using System;
       
    19 using SymbianTree;
       
    20 using SymBuildParsingLib.Tree;
       
    21 using SymBuildParsingLib.Common.Objects;
       
    22 
       
    23 namespace SymBuildParsingLib.Parser.PreProcessor.Nodes
       
    24 {
       
    25 	public class SymNodePreProcessorInclude : SymNodeAddAsChild
       
    26 	{
       
    27 		#region Constructors & destructor
       
    28 		public SymNodePreProcessorInclude()
       
    29 		{
       
    30 		}
       
    31 		#endregion
       
    32 
       
    33 		#region API
       
    34 		public SymIncludeDefinition IncludeDefinition
       
    35 		{
       
    36 			get
       
    37 			{
       
    38 				SymIncludeDefinition ret = null;
       
    39 				//
       
    40 				if	( Data == null )
       
    41 				{
       
    42 					ret = new SymIncludeDefinition();
       
    43 					Data = ret;
       
    44 				}
       
    45 				else
       
    46 				{
       
    47 					ret = (SymIncludeDefinition) Data;
       
    48 				}
       
    49 				//
       
    50 				return ret;
       
    51 			}
       
    52 			set { Data = value; }
       
    53 		}
       
    54 		#endregion
       
    55 	}
       
    56 }