crashanalysercmd/PerfToolsSharedLibraries/Engine/SymBuildParsingLib/Lexer/SymLexerWorker.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 System.Text;
       
    20 using System.Collections;
       
    21 using SymBuildParsingLib.Utils;
       
    22 
       
    23 namespace SymBuildParsingLib.Lexer
       
    24 {
       
    25 	public abstract class SymLexerWorker
       
    26 	{
       
    27 		#region Constructors & destructor
       
    28 		public SymLexerWorker( SymLexer aLexer )
       
    29 		{
       
    30 			iLexer = aLexer;
       
    31 		}
       
    32 		#endregion
       
    33 
       
    34 		#region SymLexerWorker abstract interface
       
    35 		public abstract bool ProcessCharacter( char aCharacter );
       
    36 		public abstract void StartedNewLine( SymTextPosition aEOLPosition );
       
    37 		#endregion
       
    38 
       
    39 		#region Properties
       
    40 		internal SymLexer Lexer
       
    41 		{
       
    42 			get { return iLexer; }
       
    43 		}
       
    44 		#endregion
       
    45 
       
    46 		#region Data members
       
    47 		private readonly SymLexer iLexer;
       
    48 		#endregion
       
    49 	}
       
    50 }