Ctf: remove circular initialization issue in LexicalScope
[deliverable/tracecompass.git] / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / scope / IDefinitionScope.java
1 /*******************************************************************************
2 * Copyright (c) 2011, 2014 Ericsson, Ecole Polytechnique de Montreal and others
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors: Matthew Khouzam - Initial API and implementation
10 * Contributors: Simon Marchi - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.ctf.core.event.scope;
14
15 import org.eclipse.tracecompass.ctf.core.event.types.Definition;
16
17 /**
18 * The scope of a CTF definition. Used for compound types.
19 *
20 * @version 1.0
21 * @author Matthew Khouzam
22 * @author Simon Marchi
23 */
24 public interface IDefinitionScope {
25
26 /**
27 * Gets the path in a C style for the scope.
28 *
29 * @return the path
30 * @since 1.0
31 */
32 ILexicalScope getScopePath();
33
34 /**
35 * Looks up in this definition scope.
36 *
37 * @param lookupPath
38 * The path to look up
39 * @return The Definition that was read
40 */
41 // TODO: change to IDefintion
42 Definition lookupDefinition(String lookupPath);
43 }
This page took 0.03289 seconds and 5 git commands to generate.