tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/source/ContextSearchData.java
changeset 56 aa2539c91954
parent 54 a151135b0cf9
child 60 e54443a6878c
child 62 1c2bb2fc7c87
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
     1 /*
       
     2 * Copyright (c) 2007 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 * Contains search variables during SourceParser.createContext call
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.source;
       
    20 
       
    21 /**
       
    22  * Contains search variables during SourceParser.createContext call
       
    23  * 
       
    24  */
       
    25 final class ContextSearchData {
       
    26 
       
    27 	/**
       
    28 	 * Index is currently in parameters
       
    29 	 */
       
    30 	int inParameters;
       
    31 
       
    32 	/**
       
    33 	 * Parameters have been found
       
    34 	 */
       
    35 	boolean parametersFound;
       
    36 
       
    37 	/**
       
    38 	 * Start of function name
       
    39 	 */
       
    40 	int functionStartIndex = -1;
       
    41 
       
    42 	/**
       
    43 	 * End of function name
       
    44 	 */
       
    45 	int functionEndIndex = -1;
       
    46 
       
    47 	/**
       
    48 	 * Start of class name
       
    49 	 */
       
    50 	int classStartIndex = -1;
       
    51 
       
    52 	/**
       
    53 	 * End of class name
       
    54 	 */
       
    55 	int classEndIndex = -1;
       
    56 
       
    57 	/**
       
    58 	 * End of return statement
       
    59 	 */
       
    60 	int returnEndIndex = -1;
       
    61 
       
    62 	/**
       
    63 	 * Context is valid
       
    64 	 */
       
    65 	boolean valid;
       
    66 
       
    67 	/**
       
    68 	 * Processing is finished
       
    69 	 */
       
    70 	boolean finished;
       
    71 
       
    72 	/**
       
    73 	 * The iterator
       
    74 	 */
       
    75 	SourceIterator itr;
       
    76 
       
    77 	/**
       
    78 	 * The context
       
    79 	 */
       
    80 	SourceContext context;
       
    81 
       
    82 }